BEGIN_ARRAY, BEGIN_OBJECT, BOOLEAN_VALUE, COLON_CHAR, COMMA_CHAR, END_ARRAY, END_OBJECT, END_STREAM, NULL_VALUE, NUMBER_VALUE, STRING_VALUE
Modifier and Type | Method and Description |
---|---|
int |
getType()
Return JsonToken.BOOLEAN_VALUE.
|
boolean |
getValue()
Return value of this token.
|
static JsonBooleanToken |
of(boolean value)
Return a new boolean token with the specified
value . |
java.lang.String |
toString() |
public int getType()
Return JsonToken.BOOLEAN_VALUE.
public boolean getValue()
Return value of this token.
public static JsonBooleanToken of(boolean value)
Return a new boolean token with the specified value
.
value
- Boolean value.value
.