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 */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
protected | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TJSONUnMarshal |
Description
La méthode RevertType appelle soit le "reverter", soit l'intercepteur, selon la surcharge sélectionnée.
Ainsi, l'instance Instance
est remplie avec une valeur extraite de sa représentation JSON.