Table of Contents

TTMSMCPObjectHelper.ToJSON Method

Serializes the object to a JSON string, excluding properties listed in AExcludedProperties.

API unit family: TMS.MCP.Types Declaring type: TTMSMCPObjectHelper

Overloads

Overload 1

Serializes the object to a JSON string, excluding properties listed in AExcludedProperties.

function ToJSON(AExcludedProperties: TTMSMCPObjectExcludePropertyListArray): 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.