Record TJSONScanner

Unit

Declaration

type TJSONScanner = record

Description

 

Overview

Methods

Public procedure init(Source: TStream; AOptions: TJSONOptions);
Public procedure init(const aSource: RawByteString; AOptions: TJSONOptions);
Public procedure done;
Public function FetchToken: TJSONToken;
Public function FetchTokenNoWhitespace: TJSONToken;
Public procedure skipTokenArrayOrMap;
Public class function decodeJSONString(strStart: pchar; strLength: SizeInt; escapeCharacters: TJSONEscapeCharacters; escapeFunction: TAppendEscapeFunction = nil): string; static;
Public class function decodeJSONString(str: string; escapeCharacters: TJSONEscapeCharacters; escapeFunction: TAppendEscapeFunction = nil): string; static;
Public function CurTokenErrorMessage: string;

Properties

Public property CurLine: string read GetCurLine;
Public property CurRow: Integer read FCurRow;
Public property CurColumn: Integer read GetCurColumn;
Public property CurToken: TJSONToken read FCurToken;
Public property CurTokenStart: PAnsiChar read FCurTokenStart;
Public property CurTokenLength: Integer read FCurTokenLength;
Public property Options : TJSONOptions Read FOptions Write FOptions;

Description

Methods

Public procedure init(Source: TStream; AOptions: TJSONOptions);
 
Public procedure init(const aSource: RawByteString; AOptions: TJSONOptions);
 
Public procedure done;
 
Public function FetchToken: TJSONToken;
 
Public function FetchTokenNoWhitespace: TJSONToken;
 
Public procedure skipTokenArrayOrMap;
 
Public class function decodeJSONString(strStart: pchar; strLength: SizeInt; escapeCharacters: TJSONEscapeCharacters; escapeFunction: TAppendEscapeFunction = nil): string; static;
 
Public class function decodeJSONString(str: string; escapeCharacters: TJSONEscapeCharacters; escapeFunction: TAppendEscapeFunction = nil): string; static;
 
Public function CurTokenErrorMessage: string;
 

Properties

Public property CurLine: string read GetCurLine;
 
Public property CurRow: Integer read FCurRow;
 
Public property CurColumn: Integer read GetCurColumn;
 
Public property CurToken: TJSONToken read FCurToken;
 
Public property CurTokenStart: PAnsiChar read FCurTokenStart;
 
Public property CurTokenLength: Integer read FCurTokenLength;
 
Public property Options : TJSONOptions Read FOptions Write FOptions;
 

Generated by PasDoc 0.16.0.