- nextString
Returns the Token#STRING value of the next token, consuming it. If the next
token is a number, this
- hasNext
Returns true if the current array or object has another element.
- peek
Returns the type of the next token without consuming it.
- beginObject
Consumes the next token from the JSON stream and asserts that it is the
beginning of a new object.
- of
Returns a new instance that reads UTF-8 encoded JSON from source.
- skipValue
Skips the next value recursively. If it is an object or array, all nested
elements are skipped. This
- endObject
Consumes the next token from the JSON stream and asserts that it is the end of
the current object.
- beginArray
Consumes the next token from the JSON stream and asserts that it is the
beginning of a new array.
- endArray
Consumes the next token from the JSON stream and asserts that it is the end of
the current array.
- nextName
Returns the next token, a Token#NAME, and consumes it.
- nextInt
Returns the Token#NUMBER value of the next token, consuming it. If the next
token is a string, this
- nextNull
Consumes the next token from the JSON stream and asserts that it is a literal
null. Returns null.