Skip to main content
Table of Contents

TTMSFNCObjectPersistence.SaveObjectToString Method

Serializes the given object to a JSON string.

API unit family: TMSFNCPersistence Declaring type: TTMSFNCObjectPersistence

Syntax

FMX.TMSFNCPersistence.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.