public final class JSONReaderScanner extends JSONLexerBase
matchStatARRAY, END, EOI, NOT_MATCH, NOT_MATCH_NAME, OBJECT, UNKNOWN, VALUE, VALUE_NULL| Constructor and Description |
|---|
JSONReaderScanner(char[] input,
int inputLength) |
JSONReaderScanner(char[] input,
int inputLength,
int features) |
JSONReaderScanner(Reader reader) |
JSONReaderScanner(Reader reader,
int features) |
JSONReaderScanner(String input) |
JSONReaderScanner(String input,
int features) |
| Modifier and Type | Method and Description |
|---|---|
String |
addSymbol(int offset,
int len,
int hash,
SymbolTable symbolTable) |
byte[] |
bytesValue() |
boolean |
charArrayCompare(char[] chars) |
char |
charAt(int index) |
void |
close() |
BigDecimal |
decimalValue() |
int |
indexOf(char ch,
int startIndex) |
boolean |
isBlankInput() |
boolean |
isEOF() |
char |
next() |
String |
numberString() |
String |
stringVal()
The value of a literal token, recorded as a string.
|
char[] |
sub_chars(int offset,
int count) |
String |
subString(int offset,
int count) |
config, decimalValue, doubleValue, floatValue, getCalendar, getCurrent, getFeatures, getLocale, getTimeZone, info, integerValue, intValue, isEnabled, isEnabled, isEnabled, isRef, isWhitespace, longValue, matchField, matchField, matchField2, matchStat, newCollectionByType, nextIdent, nextToken, nextToken, nextTokenWithChar, nextTokenWithColon, nextTokenWithColon, pos, readString, resetStringPosition, scanBoolean, scanDate, scanDecimal, scanDouble, scanEnum, scanEnumSymbol, scanFalse, scanFieldBigInteger, scanFieldBoolean, scanFieldDate, scanFieldDecimal, scanFieldDouble, scanFieldFloat, scanFieldFloatArray, scanFieldFloatArray2, scanFieldInt, scanFieldIntArray, scanFieldLong, scanFieldString, scanFieldStringArray, scanFieldStringArray, scanFieldSymbol, scanFieldUUID, scanFloat, scanHex, scanIdent, scanInt, scanLong, scanNullOrNew, scanNullOrNew, scanNumber, scanString, scanString, scanStringArray, scanSymbol, scanSymbol, scanSymbolUnQuoted, scanSymbolWithSeperator, scanTrue, scanType, scanTypeName, scanUUID, seekArrayToItem, seekObjectToField, seekObjectToField, seekObjectToFieldDeepScan, setFeatures, setLocale, setTimeZone, setToken, skipArray, skipObject, skipObject, skipWhitespace, stringDefaultValue, token, tokenNamepublic JSONReaderScanner(String input)
public JSONReaderScanner(String input, int features)
public JSONReaderScanner(char[] input,
int inputLength)
public JSONReaderScanner(Reader reader)
public JSONReaderScanner(Reader reader, int features)
public JSONReaderScanner(char[] input,
int inputLength,
int features)
public final char charAt(int index)
charAt in class JSONLexerBasepublic final int indexOf(char ch,
int startIndex)
indexOf in class JSONLexerBasepublic final String addSymbol(int offset, int len, int hash, SymbolTable symbolTable)
addSymbol in class JSONLexerBasepublic final char next()
next in interface JSONLexernext in class JSONLexerBasepublic final boolean charArrayCompare(char[] chars)
public byte[] bytesValue()
bytesValue in interface JSONLexerbytesValue in class JSONLexerBasepublic final String stringVal()
stringVal in interface JSONLexerstringVal in class JSONLexerBasepublic final String subString(int offset, int count)
subString in class JSONLexerBasepublic final char[] sub_chars(int offset,
int count)
public final String numberString()
numberString in interface JSONLexernumberString in class JSONLexerBasepublic final BigDecimal decimalValue()
decimalValue in interface JSONLexerdecimalValue in class JSONLexerBasepublic void close()
close in interface JSONLexerclose in interface Closeableclose in interface AutoCloseableclose in class JSONLexerBasepublic boolean isEOF()
isEOF in class JSONLexerBasepublic final boolean isBlankInput()
isBlankInput in interface JSONLexerisBlankInput in class JSONLexerBaseCopyright © 2012–2022 Alibaba Group. All rights reserved.