REST.JsonReflect.JsonReflectAttribute
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:
- A registered field event takes precedence.
- A registered type event.
- An interceptor defined by a field attribute.
- An interceptor defined by a type attribute.
- Default marshal or unmarshal.