REST.JsonReflect.TJSONUnMarshal.FieldReverter
Delphi
function FieldReverter(Field: TRttiField): TJSONInterceptor; overload;
function FieldReverter(Data: TObject; Field: string): TJSONInterceptor; overload;
C++
TJSONInterceptor* __fastcall FieldReverter(System::Rtti::TRttiField* Field)/* overload */;
TJSONInterceptor* __fastcall FieldReverter(System::TObject* Data, System::UnicodeString Field)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TJSONUnMarshal |
Description
Returns the interceptor responsible for reverting the Field
, if there is any interceptor.
The method returns the TReventerEvent instance defined by a JsonReflect attribute. It returns nil if there is no JsonReflect
attribute.
Field
is the TRTTIField instance associated with the field to be reverted.