Table of Contents

TCustomJsonConverter Class

Abstract base class for custom JSON converters.

Remarks

Subclass TCustomJsonConverter to implement a converter that handles serialization and deserialization of a specific type. The default implementations of WriteJson and ReadJson write and read null respectively, so descendants should override them to provide meaningful behavior.

Syntax

Unit: Bcl.Json.Converters

TCustomJsonConverter = class(TInterfacedObject, IJsonTypeConverter);