Skip to main content
Table of Contents

TTMSMCPObjectPersistence.SaveObjectToString Method

Serializes the given object to a JSON string.

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

Syntax

TMS.MCP.Persistence.hppPascalC++
class function SaveObjectToString(AObject: TObject): string;
__classmethod System::UnicodeString __fastcall SaveObjectToString(System::TObject* AObject);

Parameters

Name Description
AObject The object to serialize.

Returns

A JSON string representing the object's published properties.