Table of Contents

TTMSFNCReader Class

Deserializes Delphi objects from JSON streams using RTTI-based property mapping.

API unit family: TMSFNCPersistence

Syntax

TTMSFNCReader = class

Properties

Name Description
ExcludeProperties Specifies an array of property names to exclude from deserialization.
IOReference Sets a reference object passed to custom read property callbacks.
JSONReader Provides access to the underlying JSON reader for direct input operations.
RootObject Sets the root object used to resolve relative property references during deserialization.

Methods

Name Description
Read Deserializes a new object of the given class from the JSON stream.
ReadArray Deserializes a named JSON array into an array of objects.
SolveReferences Resolves all deferred object reference properties recorded during deserialization.

Events

Name Description
OnCustomIsAssignableProperty Fires to determine whether a property is eligible for deserialization.
OnCustomReadProperty Fires before each property is read, allowing the handler to override or skip it.