REST.JsonReflect.TJSONConverter.OnRefType
Delphi
procedure OnRefType(TypeName: string; id: Integer); override;
C++
virtual void __fastcall OnRefType(System::UnicodeString TypeName, int id);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TJSONConverter |
Description
Occurs when the conversion process finds a previously-visited object.
REST.JsonReflect.TJSONConverter.OnRefType inherits from REST.JsonReflect.TConverter.OnRefType. All content below this line refers to REST.JsonReflect.TConverter.OnRefType.
Occurs when the conversion process finds a previously-visited object.
TypeName
is the name of the type of the object, and id
is the unique identifier of the object.
It is the marshalling class that provides the functionality of detecting circuits in the serialization process. The unmarshalling code uses id
to restore the actual pointer.