Table of Contents

TTMSMCPJSONToClassProperty.DelphiType Method

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

API unit family: TMS.MCP.Persistence Declaring type: TTMSMCPJSONToClassProperty

Syntax

function DelphiType(ACallBack: TTMSMCPJSONToClassExportEvent; AOptions: TTMSMCPJSONToClassOptions): 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.