Declaration¶
Source position: fpjson.pp line 117
type
TBaseJSONEnumerator = class
public
function GetCurrent : TJSONEnum;
function MoveNext : Boolean;
property Current: TJSONEnum; {r}
end;
Inheritance¶
Description¶
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).
Properties¶
| Member | Visibility | Description |
|---|---|---|
| Current read only | public | Return the current value of the enumerator. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| GetCurrent | public | Return the current value of the enumerator. |
| MoveNext | public | Move to next value in array/object. |