[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpjson' (#fcl)

TJSONArray.Iterate

Iterate over all elements in the array

Declaration

Source position: fpjson.pp line 399

public procedure TJSONArray.Iterate(

  Iterator: TJSONArrayIterator;

  Data: TObject

);

Arguments

Iterator

  

Iterator callback, called for each element in the array.

Data

  

Data item passed to the iterator with each call.

Description

Iterate iterates over all elements in the array, passing them one by one to the Iterator callback, together with the Data parameter. The iteration stops when all elements have been passed or when the iterator callback returned False in the Continue parameter.

See also

TJSONArrayIterator

  

Iterator callback for TJSONArray.Iterate


Documentation generated on: Nov 14 2015