Sign in Join
FPDoc Onlineexperiment

TJSONObject.Iterate procedure

Member of TJSONObjectpublicIn unit fpJson

Iterate over all elements in the object.

Declaration

pascal
procedure Iterate(Iterator: TJSONObjectIterator; 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 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

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