Table of Contents

IJsonConverterFactory Interface

Factory interface for creating type-specific JSON converters.

Remarks

Implementations examine the given TTypeToken and return a matching IJsonTypeConverter, or nil if the factory does not handle that type. Factories are registered with TJsonConverters and queried in order until a converter is found.

Syntax

Unit: Bcl.Json.Converters

IJsonConverterFactory = interface(IInterface);

Methods

Name Description
CreateConverter Creates a converter for the specified type, or returns nil if not supported.