Sign in Join
FPDoc Onlineexperiment

TJSONArray.Objects property

Member of TJSONArraypublicIn unit fpJson

Get or set elements as JSON object values.

Declaration

pascal
property Objects[Index: Integer]: TJSONObject read GetObjects write SetObjects;

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.