REST.JsonReflect.TTypeMarshaller.GetTypeConverter
Delphi
function GetTypeConverter(clazz: TClass): TJSONInterceptor; overload;
function GetTypeConverter(rttiType: TRttiType): TJSONInterceptor; overload;
function GetTypeConverter(rttiField: TRttiField): TJSONInterceptor; overload;
C++
TJSONInterceptor* __fastcall GetTypeConverter(System::TClass clazz)/* overload */;
TJSONInterceptor* __fastcall GetTypeConverter(System::Rtti::TRttiType* rttiType)/* overload */;
TJSONInterceptor* __fastcall GetTypeConverter(System::Rtti::TRttiField* rttiField)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TTypeMarshaller |
Description
Returns a JSON interceptor for the specified class, RTTI type or RTTI field; it returns nil if JsonReflectAttribute is not an attribute of the specified item.