REST.JsonReflect.TMarshalUnmarshalBase.RegisterJSONMarshalled
Delphi
procedure RegisterJSONMarshalled(clazz: TClass; Field: string; Marshal: Boolean); overload;
C++
void __fastcall RegisterJSONMarshalled(System::TClass clazz, System::UnicodeString Field, bool Marshal)/* overload */;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
procedure function |
public | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TMarshalUnmarshalBase |
Description
Recense si un champ ou un type doit être soumis au processus marshalling ou unmarshalling.
La méthode RegisterJSONMarshalled est prioritaire sur JSONMarshalledAttribute, qui prend par défaut la valeur True. Si Marshal vaut False, le champ/type est ignoré durant le processus marshalling ou unmarshalling.