REST.JsonReflect.TJSONUnMarshal.FieldReverter

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

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

プロパティ

種類 可視性 ソース ユニット
function protected
REST.JsonReflect.pas
REST.JsonReflect.hpp
REST.JsonReflect TJSONUnMarshal


説明

Field の逆変換を担当するインターセプタが存在すれば、それを返します。

このメソッドは、JsonReflect 属性で定義された TReventerEvent インスタンスを返します。JsonReflect 属性がない場合には、nil を返します。

Field は、逆変換されるフィールドと関連付けられている TRTTIField インスタンスです。

関連項目