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 */;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | protected | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TTypeMarshaller |
Beschreibung
Gibt einen JSON-Interceptor für die angegebene Klasse, den RTTI-Typ oder das RTTI-Feld zurück; wenn JsonReflectAttribute kein Attribut des angegebenen Eintrags ist, wird nil zurückgegeben.