Table of Contents

ITMSMCPCustomReadWriteIO.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: TMS.MCP.Persistence Declaring type: ITMSMCPCustomReadWriteIO

Syntax

procedure CustomReadProperty(AObject: TObject; APropertyName: string; APropertyKind: TTypeKind; AReader: TTMSMCPJSONReader; 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.