Table of Contents

TTMSFNCPersistence.OnCustomReadProperty Event

Fires before a property is read during deserialization, allowing the handler to override the value.

API unit family: TMSFNCPersistence Declaring type: TTMSFNCPersistence

Syntax

class 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.