[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
JSON enumerator
Source position: fpjson.pp line 64
type TBaseJSONEnumerator = class |
||
public |
||
function GetCurrent; virtual; abstract; |
|
Return the current value of the enumerator |
function MoveNext; virtual; abstract; |
|
Move to next value in array/object |
|
Return the current value of the enumerator |
|
end; |
|
JSON enumerator |
|
| | ||
TObject |
TBaseJSONEnumerator is the base type for the JSON enumerators. It should not be used directly, instead use the enumerator support of Object pascal to loop over values in JSON data.
The value of the TBaseJSONEnumerator enumerator is a record that describes the key and value of a JSON value. The key can be string-based (for records) or numerical (for arrays).
|
JSON enumerator loop variable type |