Skip to content

TJSONArray.Arrays

Get or set elements as JSON array values.

Declaration

Source position: fpjson.pp line 625

public property Arrays[Index : Integer]: TJSONArray;

Description

Arrays gives direct access to JSON Array values when reading. Reading it is the equivalent to accessing

Items[Index] As TJSONArray

When writing, it will replace any previous value at that location with the written value. Note that the old value is freed, and the new value is owned by the array.

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.Integers Get or set elements as integer values.
TJSONArray.Strings Get or set elements as string values.
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.Objects Get or set elements as JSON object values.