REST.JsonReflect.TMarshalUnmarshalBase.RegisterJSONMarshalled

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RegisterJSONMarshalled(clazz: TClass; Field: string; Marshal: Boolean); overload;

C++

void __fastcall RegisterJSONMarshalled(System::TClass clazz, System::UnicodeString Field, bool Marshal)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
REST.JsonReflect.pas
REST.JsonReflect.hpp
REST.JsonReflect TMarshalUnmarshalBase

Description

Registers whether a field or type should be marshalled/unmarshalled.

The RegisterJSONMarshalled method takes priority over the JSONMarshalledAttribute, which defaults to True. If Marshal is False, the field/type is skipped during the marshalling or unmarshalling process.

See Also