Data.DBXJSONReflect.JSONReflect

From RAD Studio API Documentation
Jump to: navigation, search

System.TCustomAttributeSystem.TObjectJSONReflect
[–] Properties
Type: class
Visibility: public
Source:
Data.DBXJSONReflect.pas
Data.DBXJSONReflect.hpp
Unit: Data.DBXJSONReflect
Parent: Data.DBXJSONReflect

Delphi

JSONReflect = class(TCustomAttribute)

C++

class PASCALIMPLEMENTATION JSONReflect : public System::TCustomAttribute

Description

Represents an attribute that defines the interceptor used to marshal and unmarshal data.

JSONReflect represents an attribute that defines the interceptor used to marshal and unmarshal data. The JSONReflect attribute is also used to control the life cycle of the intermediate objects that may be generated during the marshaling process.

A value can be marshaled in various ways in the following order:

  1. Registered field event that takes precedence of a TObject.
  2. Registered type event.
  3. Interceptor defined by a field attribute.
  4. Interceptor defined by a type attribute.
  5. Default marshal or unmarshal.

See Also