TJSONScanner.FetchToken function
Fetch next token from input
Declaration
function FetchToken: TJSONTokenFunction result
Type of the fetched token
Description
Reads and returns the next token from the JSON input stream. Advances the scanner position and updates current token information. The token type and associated string value are available through properties after calling this method.
Errors
Raises EScannerError when encountering invalid JSON syntax.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
