Sign in Join
FPDoc Onlineexperiment

TJSONData.Items property

Member of TJSONDatapublicIn unit fpJson

Indexed access to sub-items.

Declaration

pascal
property Items[Index: Integer]: TJSONData read GetItem write SetItem;

Description

Items allows indexed access to the sub-items of this data. The Index is 0-based, and runs from 0 to Count-1. For simple data types, this function always returns Nil, the complex data type descendents ( TJSONArray and TJSONObject) override this method to return the Index-th element in the list.

See also

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