Table of Contents

IJsonConverterFactory.CreateConverter Method

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

Syntax

Unit: Bcl.Json.Converters

function IJsonConverterFactory.CreateConverter(Converters: TJsonConverters; const ATypeToken: TTypeToken): IJsonTypeConverter; virtual; abstract;

Parameters

<-> Parameter Type Description
Converters TJsonConverters The converter registry that owns this factory.
const ATypeToken TTypeToken The type token identifying the type to convert.

Returns

An IJsonTypeConverter for the type, or nil if this factory cannot handle it.

See also