REST.JsonReflect.TJSONInterceptor.ObjectType
Delphi
property ObjectType: TClass read FObjectType write FObjectType;
C++
__property System::TClass ObjectType = {read=FObjectType, write=FObjectType};
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| property | public | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TJSONInterceptor |
説明
ペイロード オブジェクトが変換元または逆変換先のフィールド型と異なる場合は、明示的なクラス型が格納されています。
オブジェクト型のインターセプタにのみ適用されます。nil の場合、フィールド オブジェクトとペイロード オブジェクトは同じ型でなければなりません。
たとえば TDatetime に使用されます(この型では、日時が { "$date": 123456789 } などと表されます)。