Table of Contents

TTMSFNCJSONToClassProperty.DelphiType Method

Returns the Delphi type name that matches the JSON property type.

API unit family: TMSFNCPersistence Declaring type: TTMSFNCJSONToClassProperty

Syntax

function DelphiType(ACallBack: TTMSFNCJSONToClassExportEvent; AOptions: TTMSFNCJSONToClassOptions): string;

Parameters

Name Description
ACallBack Optional callback that can adjust the property name and type.
AOptions Generation options used for object and list type names.

Returns

The generated Delphi type name.