Data.DBXJSONReflect.TJSONUnMarshal.RevertType

提供: RAD Studio API Documentation
移動先: 案内検索

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 */;

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Data.DBXJSONReflect.pas
Data.DBXJSONReflect.hpp
Data.DBXJSONReflect TJSONUnMarshal


説明

指定されたフィールドの逆変換コンバータ イベントを呼び出します。

逆変換コンバータ イベントを呼び出すフィールドを、JSON 表現からの値で設定します。

  • recField は、設定する TRttiField を表します。
  • Instance は、現在のオブジェクトのアドレスです。
  • revEv は、フィールド値を生成する、ユーザーの逆変換コンバータを表します。
  • jsonFieldVal は、ユーザーの値を設定するために使用する JSON 値です。

関連項目