TJArray.Add Method
Overloads
- TJArray.Add(TJElement)
- TJArray.Add(string)
- TJArray.Add(Integer)
- TJArray.Add(Int64)
- TJArray.Add(Double)
- TJArray.Add(Boolean)
TJArray.Add(TJElement)
Adds a JSON element to the end of the array.
Syntax
Unit: Bcl.Json.Classes
procedure TJArray.Add(Value: TJElement); overload;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Value | TJElement | The TJElement to add. If nil, a TJNull is added instead. |
See also
TJArray.Add(string)
Adds a string value to the end of the array.
Syntax
Unit: Bcl.Json.Classes
procedure TJArray.Add(const Value: string); overload;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Value | string | The string value to add, wrapped in a TJPrimitive. |
See also
TJArray.Add(Integer)
Adds an Integer value to the end of the array.
Syntax
Unit: Bcl.Json.Classes
procedure TJArray.Add(const Value: Integer); overload;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Value | Integer | The Integer value to add, wrapped in a TJPrimitive. |
See also
TJArray.Add(Int64)
Adds an Int64 value to the end of the array.
Syntax
Unit: Bcl.Json.Classes
procedure TJArray.Add(const Value: Int64); overload;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Value | Int64 | The Int64 value to add, wrapped in a TJPrimitive. |
See also
TJArray.Add(Double)
Adds a Double value to the end of the array.
Syntax
Unit: Bcl.Json.Classes
procedure TJArray.Add(const Value: Double); overload;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Value | Double | The Double value to add, wrapped in a TJPrimitive. |
See also
TJArray.Add(Boolean)
Adds a Boolean value to the end of the array.
Syntax
Unit: Bcl.Json.Classes
procedure TJArray.Add(const Value: Boolean); overload;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Value | Boolean | The Boolean value to add, wrapped in a TJPrimitive. |