Table of Contents

TTMSFNCWriter.OnCustomWriteProperty Event

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

API unit family: TMSFNCPersistence Declaring type: TTMSFNCWriter

Syntax

OnCustomWriteProperty: TTMSFNCWriterCustomWritePropertyEvent;

Parameters

Name Description
AObject The object being serialized.
APropertyName Name of the property about to be written.
APropertyKind RTTI type kind of the property.
AWriter JSON writer; call its write methods to emit a custom value.
ACanWrite Set to False to skip writing this property.