Skip to main content
Table of Contents

ITMSFNCPersistenceIO.NeedsObjectReference Method

Determines whether objects of the given class should be stored as reference tokens rather than inline JSON during serialization.

API unit family: TMSFNCPersistence Declaring type: ITMSFNCPersistenceIO

Syntax

FMX.TMSFNCPersistence.hppPascalC++
function NeedsObjectReference(const AClass: TClass): Boolean;
virtual bool __fastcall NeedsObjectReference(const System::TClass AClass) = 0;

Parameters

Name Description
AClass Class to test.

Returns

True to serialize instances of this class as reference tokens; False to serialize them inline.