Data.DBXJSONReflect.JSONReflect

From XE2 API Documentation
Jump to: navigation, search

System.TCustomAttributeSystem.TObjectJSONReflect

Delphi

JSONReflect = class(TCustomAttribute)

C++

class PASCALIMPLEMENTATION JSONReflect : public System::TCustomAttribute

Properties

Type Visibility Source Unit Parent
class public
Data.DBXJSONReflect.pas
Data.DBXJSONReflect.hpp
Data.DBXJSONReflect Data.DBXJSONReflect

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