A JSON token, with a type, line / column information, and the text of that token.
Type | Name and description |
---|---|
long |
endColumn |
long |
endLine |
long |
startColumn |
long |
startLine |
String |
text |
JsonTokenType |
type |
Type Params | Return Type | Name and description |
---|---|---|
|
long |
getEndColumn() |
|
long |
getEndLine() |
|
long |
getStartColumn() |
|
long |
getStartLine() |
|
String |
getText() |
|
JsonTokenType |
getType() |
|
Object |
getValue() Return the value represented by this token (ie. a number, a string, a boolean or null). |
|
void |
setEndColumn(long endColumn) |
|
void |
setEndLine(long endLine) |
|
void |
setStartColumn(long startColumn) |
|
void |
setStartLine(long startLine) |
|
void |
setText(String text) |
|
void |
setType(JsonTokenType type) |
|
String |
toString() |
Return the value represented by this token (ie. a number, a string, a boolean or null). For numbers, BigDecimal is returned for decimals and Integer, Long or BigInteger for integral numbers.