Sign in Join
FPDoc Onlineexperiment

TJSONArrayIterator procedure type

In unit fpJson

Iterator callback for TJSONArray.Iterate.

Declaration

pascal
TJSONArrayIterator = procedure(Item: TJSONData; Data: TObject; 
 var Continue: Boolean) of object

Arguments

Item

Current item.

Data

extra data.

Continue

Continue iterating or not ?

Description

TJSONArrayIterator is the procedural callback used by Iterate to iterate over the values. Item is the current item in the iteration. Data is the data passed on when calling Iterate. The Continue parameter can be set to false to stop the iteration loop.

See also

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