Table of Contents

ITMSFNCCustomReadWriteIO.CustomReadProperty Method

Called before a property is read from JSON, allowing the implementor to supply a custom value or suppress the default read.

API unit family: TMSFNCPersistence Declaring type: ITMSFNCCustomReadWriteIO

Syntax

procedure CustomReadProperty(AObject: TObject; APropertyName: string; APropertyKind: TTypeKind; AReader: TTMSFNCJSONReader; var ACanRead: Boolean);

Parameters

Name Description
AObject Object whose property is being read.
APropertyName Name of the property.
APropertyKind RTTI type kind of the property.
AReader JSON reader positioned at the property value.
ACanRead Set to False to skip the default property read.