[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Iterator callback for TJSONObject.Iterate
Source position: fpjson.pp line 554
type TJSONObjectIterator = procedure( |
const AName: TJSONStringType; |
Item: TJSONData; |
Data: TObject; |
var Continue: Boolean |
) of object; |
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 |
TJSONObjectIterator is the procedural callback used by TJSONObject.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.
|
Iterate over all elements in the object |