TJSONData.GetEnumerator function
Return an enumerator for the data.
Declaration
function GetEnumerator: TBaseJSONEnumerator; virtualFunction result
The new enumerator.
Description
GetEnumerator returns an enumerator for the JSON data. For simple
types, the enumerator will just contain the current value. For arrays and
objects, the enumerator will loop over the values in the array. The return
value is not a
TJSONData type, but a
TJSONEnum
structure, which contains the value, and for structured types, the key
(numerical or string).See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
