Sign in Join
FPDoc Onlineexperiment

JsonScanner unit

JSON lexical scanner

The jsonscanner unit provides a tokenizer for JSON data. It breaks JSON text into discrete tokens for subsequent parsing.

Classes and records

EScannerErrorclassJSON scanner exception
TJSONScannerclassJSON lexical scanner

Types

TJSONOptionenumerationJSON scanner options
TJSONOptionssetSet of JSON scanner options
TJSONTokenenumerationJSON token types

Constants

DefaultOptionsconstantDefault scanner options
TokenInfosconstantToken type descriptions

Resource strings

SErrInvalidCharacterresource stringInvalid character error message
SErrOpenStringresource stringOpen string error message
SUnterminatedCommentresource stringUnterminated comment error message

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.