Skip to main content
Table of Contents

TTMSFNCJSONToClassItem.GetClassName Method

Returns the generated Delphi class name for the JSON object.

API unit family: TMSFNCPersistence Declaring type: TTMSFNCJSONToClassItem

Syntax

FMX.TMSFNCPersistence.hppPascalC++
function GetClassName(ACallBack: TTMSFNCJSONToClassExportEvent; AOptions: TTMSFNCJSONToClassOptions): string;
System::UnicodeString __fastcall GetClassName(_di_TTMSFNCJSONToClassExportEvent ACallBack, const TTMSFNCJSONToClassOptions &AOptions);

Parameters

Name Description
ACallBack Optional callback that can adjust the source JSON property name and type.
AOptions Generation options used to format the class name.

Returns

The generated Delphi class name string.