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

function NeedsObjectReference(const AClass: TClass): Boolean;

Parameters

Name Description
AClass Class to test.

Returns

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