[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpjson' (#fcl)

TBaseJSONEnumerator

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

JSON enumerator

Declaration

Source position: fpjson.pp line 90

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

  property Current: TJSONEnum; [r]

  

Return the current value of the enumerator

end;

Inheritance

TBaseJSONEnumerator

  

JSON enumerator

|

TObject

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).

See also

TJSONEnum

  

JSON enumerator loop variable type


Documentation generated on: Jun 22 2020