REST.JsonReflect.TJSONUnMarshal.RevertType
Delphi
procedure RevertType(recField: TRttiField; Instance: Pointer; revEv: TReverterEvent; jsonFieldVal: TJSONValue); overload;
procedure RevertType(recField: TRttiField; Instance: Pointer; revEv: TJSONInterceptor; jsonFieldVal: TJSONValue); overload;
C++
void __fastcall RevertType(System::Rtti::TRttiField* recField, void * Instance, TReverterEvent* revEv, System::Json::TJSONValue* jsonFieldVal)/* overload */;
void __fastcall RevertType(System::Rtti::TRttiField* recField, void * Instance, TJSONInterceptor* revEv, System::Json::TJSONValue* jsonFieldVal)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TJSONUnMarshal |
Description
The RevertType method invokes either the reverter or the interceptor according to the selected overload.
As a result, the Instance
is populated with a value from its JSON representation.