REST.JsonReflect.JsonReflectAttribute

From RAD Studio API Documentation
Jump to: navigation, search

System.TCustomAttributeSystem.TObjectJsonReflectAttribute

Delphi

JsonReflectAttribute = class(TCustomAttribute)

C++

class PASCALIMPLEMENTATION JsonReflectAttribute : public System::TCustomAttribute

Properties

Type Visibility Source Unit Parent
class public
REST.JsonReflect.pas
REST.JsonReflect.hpp
REST.JsonReflect REST.JsonReflect

Description

Attribute that defines the interceptor used to marshal and unmarshal data.

It is also used to control the life cycle of the intermediate objects that may be generated by the marshalling process.

A value can be marshalled in various ways and this is the order in which it is done:

  1. A registered field event takes precedence.
  2. A registered type event.
  3. An interceptor defined by a field attribute.
  4. An interceptor defined by a type attribute.
  5. Default marshal or unmarshal.

See Also