System.JSON.TJSONArray.Add
Delphi
function Add(const Element: string): TJSONArray; overload;
function Add(const Element: Integer): TJSONArray; overload;
function Add(const Element: Cardinal): TJSONArray; overload;
function Add(const Element: Int64): TJSONArray; overload;
function Add(const Element: UInt64): TJSONArray; overload;
function Add(const Element: Double): TJSONArray; overload;
function Add(const Element: Extended): TJSONArray; overload;
function Add(const Element: Currency): 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 unsigned Element)/* overload */;
TJSONArray* __fastcall Add(const __int64 Element)/* overload */;
TJSONArray* __fastcall Add(const unsigned __int64 Element)/* overload */;
TJSONArray* __fastcall Add(const double Element)/* overload */;
TJSONArray* __fastcall Add(const System::Extended Element)/* overload */;
TJSONArray* __fastcall Add(const System::Currency Element)/* overload */;
TJSONArray* __fastcall Add(const bool Element)/* overload */;
TJSONArray* __fastcall Add(TJSONObject* const Element)/* overload */;
TJSONArray* __fastcall Add(TJSONArray* const Element)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.JSON.pas System.JSON.hpp |
System.JSON | TJSONArray |
説明
NULL ではない値を現在の要素リストに追加します。
Element
パラメータとして与えられた値を JSON 配列の現在の要素リストに追加するには、Add を呼び出します。
Element
パラメータでサポートされている型は以下のとおりです:
メモ:
Element
パラメータとして与える値は、NULL であってはいけません。