TJSONEnum¶
JSON enumerator loop variable type.
Declaration¶
Source position: fpjson.pp line 111
type
TJSONEnum = record
Key: TJSONStringType = UTF8String;
KeyNum: Integer;
Value: type
TJSONData = class;
end;
Description¶
TJSONEnum is the loop variable type to use when implementing a JSON enumerator (for in). It contains 3 elements which are available in the loop: key, keynum (numerical key) and the actual value (TJSONData).
See also¶
| Name | Description |
|---|---|
| TBaseJSONEnumerator | JSON enumerator. |
| TJSONData.GetEnumerator | Return an enumerator for the data. |