TJSONArray.Integers¶
Get or set elements as integer values.
Declaration¶
Source position: fpjson.pp line 612
public property Integers[Index : Integer]: Integer;
Description¶
Integers gives direct access to the TJSONData.AsInteger property when reading. Reading it is the equivalent to accessing
Items[Index].AsInteger
When writing, it will check if an integer JSON value is located at the given location, and replace it with the new value. If a non-integer JSON value is there, it is replaced with the written integer value.
See also¶
| Name | Description |
|---|---|
| TJSONData.Items | Indexed access to sub-items. |
| TJSONData.IsNull | Is the data a null value ? |
| TJSONArray.Types | JSON types of elements in the array. |
| TJSONArray.Int64s | Get or set elements as Int64 values. |
| TJSONArray.QWords | Get or set elements as QWord values. |
| TJSONArray.Floats | Get or set elements as floating-point numerical values. |
| TJSONArray.Strings | Get or set elements as string values. |
| TJSONArray.Booleans | Get or set elements as boolean values. |