Data.DBXJSONReflect.TMarshalUnmarshalBase.ShouldMarshal
Delphi
function ShouldMarshal(Data: TObject; rttiField: TRTTIField): Boolean;
C++
bool __fastcall ShouldMarshal(System::TObject* Data, System::Rtti::TRttiField* rttiField);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXJSONReflect.pas Data.DBXJSONReflect.hpp |
Data.DBXJSONReflect | TMarshalUnmarshalBase |
Description
Checks whether or not an object field should be marshalled based on the JSONMarshalled registration and attribute.
The ShouldMarshal method checks whether or not an object field should be marshalled based on the JSONMarshalled registration and attribute. The JSONMarshalled registration takes priority over the attribute, and both default to True
.