REST.JsonReflect.TJSONUnMarshal.SetField
Delphi
procedure SetField(Data: TObject; const Field: string; const Value: string; IsNum: Boolean); overload;
procedure SetField(Data: TObject; const Field: string; Value: Boolean); overload;
procedure SetField(Data: TObject; const Field: string; Value: TObject); overload;
C++
void __fastcall SetField(System::TObject* Data, const System::UnicodeString Field, const System::UnicodeString Value, bool IsNum)/* overload */;
void __fastcall SetField(System::TObject* Data, const System::UnicodeString Field, bool Value)/* overload */;
void __fastcall SetField(System::TObject* Data, const System::UnicodeString Field, System::TObject* Value)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | TJSONUnMarshal |
Description
The SetField method sets the specified object Field
of Data
with the given Value
.
Three different overloaded methods are available for three different types of Value: string, Boolean and TObject.