Record TJSONScanner
Unit
Declaration
type TJSONScanner = record
Description
Overview
Methods
procedure init(Source: TStream; AOptions: TJSONOptions); |
|
procedure init(const aSource: RawByteString; AOptions: TJSONOptions); |
|
procedure done; |
|
function FetchToken: TJSONToken; |
|
function FetchTokenNoWhitespace: TJSONToken; |
|
procedure skipTokenArrayOrMap; |
|
class function decodeJSONString(strStart: pchar; strLength: SizeInt; escapeCharacters: TJSONEscapeCharacters; escapeFunction: TAppendEscapeFunction = nil): string; static; |
|
class function decodeJSONString(str: string; escapeCharacters: TJSONEscapeCharacters; escapeFunction: TAppendEscapeFunction = nil): string; static; |
|
function CurTokenErrorMessage: string; |
Properties
property CurLine: string read GetCurLine; |
|
property CurRow: Integer read FCurRow; |
|
property CurColumn: Integer read GetCurColumn; |
|
property CurToken: TJSONToken read FCurToken; |
|
property CurTokenStart: PAnsiChar read FCurTokenStart; |
|
property CurTokenLength: Integer read FCurTokenLength; |
|
property Options : TJSONOptions Read FOptions Write FOptions; |
Description
Methods
procedure init(Source: TStream; AOptions: TJSONOptions); |
|
procedure init(const aSource: RawByteString; AOptions: TJSONOptions); |
|
procedure done; |
|
function FetchToken: TJSONToken; |
|
function FetchTokenNoWhitespace: TJSONToken; |
|
procedure skipTokenArrayOrMap; |
|
class function decodeJSONString(strStart: pchar; strLength: SizeInt; escapeCharacters: TJSONEscapeCharacters; escapeFunction: TAppendEscapeFunction = nil): string; static; |
|
class function decodeJSONString(str: string; escapeCharacters: TJSONEscapeCharacters; escapeFunction: TAppendEscapeFunction = nil): string; static; |
|
function CurTokenErrorMessage: string; |
|
Properties
property CurLine: string read GetCurLine; |
|
property CurRow: Integer read FCurRow; |
|
property CurColumn: Integer read GetCurColumn; |
|
property CurToken: TJSONToken read FCurToken; |
|
property CurTokenStart: PAnsiChar read FCurTokenStart; |
|
property CurTokenLength: Integer read FCurTokenLength; |
|
property Options : TJSONOptions Read FOptions Write FOptions; |
|
Generated by PasDoc 0.16.0.