Data.DBXJSONReflect.TMarshalUnmarshalBase.RegisterJSONMarshalled
Delphi
procedure RegisterJSONMarshalled(clazz: TClass; const Field: string; Marshal: Boolean); overload;
C++
void __fastcall RegisterJSONMarshalled(System::TClass clazz, const System::UnicodeString Field, bool Marshal)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DBXJSONReflect.pas Data.DBXJSONReflect.hpp |
Data.DBXJSONReflect | TMarshalUnmarshalBase |
Description
Registers whether a field or type should be marshalled/unmarshalled.
The RegisterJSONMarshalled method registers the specified class field in case it should be marshalled/unmarshalled. This takes priority over the JSONMarshalled attribute, which defaults to True
. If Marshal
is False
, the field/type is skipped during the marshalling or unmarshalling process.