Table of Contents

TTMSFNCReader.OnCustomReadProperty Event

Fires before each property is read, allowing the handler to override or skip it.

API unit family: TMSFNCPersistence Declaring type: TTMSFNCReader

Syntax

OnCustomReadProperty: TTMSFNCReaderCustomReadPropertyEvent;

Parameters

Name Description
AObject The object being deserialized.
APropertyName Name of the property about to be read.
APropertyKind RTTI type kind of the property.
AReader JSON reader positioned at the property value; read from it to supply a custom value.
ACanRead Set to False to skip this property and leave it at its current value.