Package com.alibaba.fastjson.parser
Interface JSONLexer
-
- All Known Implementing Classes:
JSONLexerBase,JSONScanner
public interface JSONLexer
-
-
Field Summary
Fields Modifier and Type Field Description static intARRAYstatic intENDstatic charEOIstatic intNOT_MATCHstatic intNOT_MATCH_NAMEstatic intOBJECTstatic intUNKNOWNstatic intVALUEstatic intVALUE_NULL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigDecimaldecimalValue()chargetCurrent()com.alibaba.fastjson2.JSONReadergetReader()intintValue()booleanisBlankInput()booleanisEOF()longlongValue()voidnextToken()voidnextToken(int expect)StringstringVal()
-
-
-
Field Detail
-
EOI
static final char EOI
- See Also:
- Constant Field Values
-
NOT_MATCH
static final int NOT_MATCH
- See Also:
- Constant Field Values
-
NOT_MATCH_NAME
static final int NOT_MATCH_NAME
- See Also:
- Constant Field Values
-
UNKNOWN
static final int UNKNOWN
- See Also:
- Constant Field Values
-
OBJECT
static final int OBJECT
- See Also:
- Constant Field Values
-
ARRAY
static final int ARRAY
- See Also:
- Constant Field Values
-
VALUE
static final int VALUE
- See Also:
- Constant Field Values
-
END
static final int END
- See Also:
- Constant Field Values
-
VALUE_NULL
static final int VALUE_NULL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getReader
com.alibaba.fastjson2.JSONReader getReader()
-
stringVal
String stringVal()
-
decimalValue
BigDecimal decimalValue()
-
isBlankInput
boolean isBlankInput()
-
intValue
int intValue()
-
longValue
long longValue()
-
nextToken
void nextToken()
-
nextToken
void nextToken(int expect)
-
getCurrent
char getCurrent()
-
isEOF
boolean isEOF()
-
-