Data.DBXJSONReflect.JSONReflect
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:
- Registered field event that takes precedence of a TObject.
- Registered type event.
- Interceptor defined by a field attribute.
- Interceptor defined by a type attribute.
- Default marshal or unmarshal.
See Also
- Serializing User Objects, located in Developing DataSnap Applications.