System.JSON.TJSONArray.Add

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function Add(const Element: string): TJSONArray; overload;
function Add(const Element: Integer): TJSONArray; overload;
function Add(const Element: Double): TJSONArray; overload;
function Add(const Element: Boolean): TJSONArray; overload;
function Add(const Element: TJSONObject): TJSONArray; overload;
function Add(const Element: TJSONArray): TJSONArray; overload;

C++

TJSONArray* __fastcall Add(const System::UnicodeString Element)/* overload */;
TJSONArray* __fastcall Add(const int Element)/* overload */;
TJSONArray* __fastcall Add(const double Element)/* overload */;
TJSONArray* __fastcall Add(const bool Element)/* overload */;
TJSONArray* __fastcall Add(TJSONObject* const Element)/* overload */;
TJSONArray* __fastcall Add(TJSONArray* const Element)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONArray

Beschreibung

Fügt der aktuellen Elementliste einen Nicht-Nullwert hinzu.

Mit Add fügen Sie der aktuellen Elementliste des JSON-Arrays den im Parameter Element angegebenen Wert hinzu.

Anmerkung:  Der Wert im Parameter Element darf nicht Null sein.

Siehe auch