Skip to content

TJSONArray.Objects

Get or set elements as JSON object values.

Declaration

Source position: fpjson.pp line 626

public property Objects[Index : Integer]: TJSONObject;

Description

Objects gives direct access to JSON object values when reading. Reading it is the equivalent to accessing

Items[Index] As TJSONObject

When writing, it will replace any previous value at that location with the whiten 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.Arrays Get or set elements as JSON array values.