Table of Contents

TJsonSerializer Class

Serializes Delphi values to JSON format.

Remarks

TJsonSerializer converts TValue instances to their JSON representation using registered converters. Output can be a string, a TStream, or a TJsonWriter. Custom converters can be provided to control how specific types are serialized.

Syntax

Unit: Bcl.Json.Serializer

TJsonSerializer = class(TObject);

Constructors

Name Description
Create Overloaded
Create
Create(TJsonConverters, Boolean)

Methods

Properties

Name Description
Converters Provides access to the converter registry used by this serializer.