REST.JsonReflect.TJSONInterceptor.ObjectType
Delphi
property ObjectType: TClass read FObjectType write FObjectType;
C++
__property System::TClass ObjectType = {read=FObjectType, write=FObjectType};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TJSONInterceptor |
Description
Contains an explicit class type, if the payload object is different from the field type that it gets converted from or reverted to.
Only applies to interceptors of object type. If nil, then field and payload objects must be of the same type.
Used for example for TDatetime, where a date might be represented as { "$date": 123456789 }
.