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 */;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | protected | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TTypeMarshaller |
Description
Renvoie un intercepteur JSON pour la classe, le type RTTI ou le champ RTTI spécifié ; elle renvoie nil si JsonReflectAttribute n'est pas un attribut de l'élément spécifié.