Skip to content

TJSONArray.Iterate

Iterate over all elements in the array.

Declaration

Source position: fpjson.pp line 566

public 
procedure TJSONArray.Iterate(Iterator: TJSONArrayIterator; 
                            Data: TObject);

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

Name Description
TJSONArrayIterator Iterator callback for TJSONArray.Iterate.