TTMSFNCObjectHelper.ToJSON Method
Serializes the object to a JSON string, excluding properties listed in
AExcludedProperties.
API unit family: TMSFNCTypes
Declaring type: TTMSFNCObjectHelper
Overloads
Overload 1
Serializes the object to a JSON string, excluding properties listed in
AExcludedProperties.
function ToJSON(AExcludedProperties: TTMSFNCObjectExcludePropertyListArray): string; overload;
Parameters
| Name | Description |
|---|---|
AExcludedProperties |
Array of property names to omit from the JSON output. |
Returns
The serialized JSON string.
Overload 2
Serializes the object to a JSON string including all serializable properties.
function ToJSON: string; overload;
Returns
The serialized JSON string.