Unit fastjsonscanner

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Class EScannerError  
Record TJSONScanner  

Types

TJSONToken = (...);
TJSONOption = (...);
TJSONOptions = set of TJSONOption;
TAppendEscapeFunction = procedure (var sb: TStrBuilder; p: pchar; l: integer) of object;
TJSONEscapeCharacters = (...);

Constants

SErrInvalidCharacter = 'Invalid character at line %d, pos %d: ''%s''';
SUnterminatedComment = 'Unterminated comment at line %d, pos %d: ''%s''';
SErrOpenString = 'string exceeds end of line %d';
DefaultOptions = [joUTF8];
TokenInfos: array[TJSONToken] of string = ( 'EOF', 'Whitespace', 'String', 'Number', 'True', 'False', 'Null', ',', ':', '{', '}', '[', ']', 'identifier', 'comment', '' );

Description

Types

TJSONToken = (...);
 
Values
  • tkEOF
  • tkWhitespace
  • tkString
  • tkNumber
  • tkTrue
  • tkFalse
  • tkNull
  • tkComma
  • tkColon
  • tkCurlyBraceOpen
  • tkCurlyBraceClose
  • tkSquaredBraceOpen
  • tkSquaredBraceClose
  • tkIdentifier
  • tkComment
  • tkUnknown
TJSONOption = (...);
 
Values
  • joUTF8
  • joStrict
  • joIgnoreTrailingComma
  • joIgnoreDuplicates
  • joBOMCheck
TJSONOptions = set of TJSONOption;
 
TAppendEscapeFunction = procedure (var sb: TStrBuilder; p: pchar; l: integer) of object;
 
TJSONEscapeCharacters = (...);
 
Values
  • jecEscapeNothing
  • jecEscapeForXML10
  • jecEscapeForXML11
  • jecEscapeAll

Constants

SErrInvalidCharacter = 'Invalid character at line %d, pos %d: ''%s''';
 
SUnterminatedComment = 'Unterminated comment at line %d, pos %d: ''%s''';
 
SErrOpenString = 'string exceeds end of line %d';
 
DefaultOptions = [joUTF8];
 
TokenInfos: array[TJSONToken] of string = ( 'EOF', 'Whitespace', 'String', 'Number', 'True', 'False', 'Null', ',', ':', '{', '}', '[', ']', 'identifier', 'comment', '' );
 

Generated by PasDoc 0.16.0.