TTMSFNCJSONToClassProperty.DelphiName Method
Returns the Delphi-safe name for the JSON property.
API unit family: TMSFNCPersistence
Declaring type: TTMSFNCJSONToClassProperty
Syntax
function DelphiName(ACallBack: TTMSFNCJSONToClassExportEvent; AOptions: TTMSFNCJSONToClassOptions; AFixKeyWord: Boolean = True): string;
Parameters
| Name | Description |
|---|---|
ACallBack |
Optional callback that can adjust the property name and type. |
AOptions |
Generation options used to format the Delphi identifier. |
AFixKeyWord |
When True, prefixes Delphi reserved words so they remain valid identifiers. |
Returns
The generated Delphi property or class name segment.