Sign in Join
FPDoc Onlineexperiment

TJSONObjectIterator procedure type

In unit fpJson

Iterator callback for TJSONObject.Iterate.

Declaration

pascal
TJSONObjectIterator = procedure(const AName: TJSONStringType; 
 Item: TJSONData; Data: TObject; 
 var Continue: Boolean) of object

Arguments

AName

Name (key) of the current item in the object.

Item

Current item.

Data

Data passed on to Iterate call.

Continue

Set to false to stop the iteration.

Description

TJSONObjectIterator is the procedural callback used by Iterate to iterate over the values. Item is the current item in the iteration, and AName it's name. 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.