Skip to content

TJSONData.Items

Indexed access to sub-items.

Declaration

Source position: fpjson.pp line 191

public property Items[Index : Integer]: TJSONData;

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

Name Description
Count Number of sub-items for this data element.
TJSONArray Class of TJSONArray.
TJSONObject Class of TJSONObject.