Skip to content

TJSONObject.Iterate

Iterate over all elements in the object.

Declaration

Source position: fpjson.pp line 721

public 
procedure TJSONObject.Iterate(Iterator: TJSONObjectIterator; 
                             Data: TObject);

Description

Iterate iterates over all elements in the object, passing them one by one with name and value 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
TJSONObjectIterator Iterator callback for TJSONObject.Iterate.