Data.DBXJSONReflect.TJSONUnMarshal.FieldReverter
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: protected | |
| Source: Data.DBXJSONReflect.pas Data.DBXJSONReflect.hpp
| |
| Unit: Data.DBXJSONReflect | |
| Parent: TJSONUnMarshal | |
Delphi
function FieldReverter(Field: TRTTIField): TJSONInterceptor; overload;
function FieldReverter(Data: TObject; const Field: string): TJSONInterceptor; overload;
C++
TJSONInterceptor* __fastcall FieldReverter(System::Rtti::TRttiField* Field)/* overload */;
TJSONInterceptor* __fastcall FieldReverter(System::TObject* Data, const System::UnicodeString Field)/* overload */;
Description
Returns the reverter defined by a JSONReverter attribute, if any.
FieldReverter returns the TReverterEvent instance defined by the attribute, and nil/NULL (Delphi/C++) if there is no JSONReverter attribute.
Fieldrepresents the TRttiField instance associated with the object's field to be reverted.
Datarepresents the current object instance.
Fieldis the field name where a JSONReverter attribute was defined.