System.JSON.TJSONArray.Add

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONArray

Description

Ajoute une valeur non null à la liste d'éléments en cours.

Appelez Add pour ajouter la valeur donnée par le paramètre Element à la liste d'éléments en cours du tableau JSON.

Remarque :  La valeur donnée par le paramètre Element ne peut pas être null.

Voir aussi