public interface JSONLexer
限定符和类型 | 字段和说明 |
---|---|
static int |
ARRAY |
static int |
END |
static byte |
EOI |
static int |
NOT_MATCH |
static int |
NOT_MATCH_NAME |
static int |
OBJECT |
static int |
UNKNOWN |
static int |
VALUE |
static final byte EOI
static final int NOT_MATCH
static final int NOT_MATCH_NAME
static final int UNKNOWN
static final int OBJECT
static final int ARRAY
static final int VALUE
static final int END
int token()
String tokenName()
void skipWhitespace()
void nextToken()
void nextToken(int expect)
char getCurrent()
char next()
String scanSymbol(SymbolTable symbolTable)
String scanSymbol(SymbolTable symbolTable, char quote)
void resetStringPosition()
void scanNumber()
int pos()
Number integerValue()
BigDecimal decimalValue()
Number decimalValue(boolean decimal)
String scanSymbolUnQuoted(SymbolTable symbolTable)
String stringVal()
boolean isEnabled(Feature feature)
void config(Feature feature, boolean state)
void scanString()
int intValue()
void nextTokenWithColon()
void nextTokenWithColon(int expect)
boolean isBlankInput()
int getBufferPosition()
void close()
long longValue()
boolean isRef()
String numberString()
byte[] bytesValue()
float floatValue()
long scanLong(char expectNextChar)
int scanInt(char expectNext)
String scanString(char expectNextChar)
Enum<?> scanEnum(Class<?> enumClass, SymbolTable symbolTable, char serperator)
String scanSymbolWithSeperator(SymbolTable symbolTable, char serperator)
Collection<String> scanStringArray(Class<?> type, char seperator)
TimeZone getTimeZone()
void setTimeZone(TimeZone timeZone)
Locale getLocale()
void setLocale(Locale locale)
String info()
Copyright © 2012–2016 Alibaba Group. All rights reserved.