| Modifier and Type | Method and Description |
|---|---|
void |
JsonReader.array()
Starts reading an array at the current value.
|
boolean |
JsonReader.bool()
Parses the current value as a boolean.
|
JsonReader.Type |
JsonReader.current()
Returns the current type of the value.
|
double |
JsonReader.doubleVal()
Parses the current value as a double.
|
float |
JsonReader.floatVal()
Parses the current value as a float.
|
T |
JsonParser.JsonParserContext.from(InputStream stm)
Parses the current JSON type from a
InputStream. |
static JsonReader |
JsonReader.from(InputStream in)
Create a
JsonReader from an InputStream. |
T |
JsonParser.JsonParserContext.from(Reader r)
Parses the current` JSON type from a
Reader. |
T |
JsonParser.JsonParserContext.from(String s)
Parses the current JSON type from a
String. |
static JsonReader |
JsonReader.from(String s)
Create a
JsonReader from a String. |
T |
JsonParser.JsonParserContext.from(URL url)
Parses the current JSON type from a
URL. |
int |
JsonReader.intVal()
Parses the current value as an integer.
|
String |
JsonReader.key()
Reads the key for the object at the current value.
|
long |
JsonReader.longVal()
Parses the current value as a long.
|
boolean |
JsonReader.next()
Advance to the next value in this array or object.
|
void |
JsonReader.nul()
Parses the current value as a null.
|
Number |
JsonReader.number()
Parses the current value as a
Number. |
void |
JsonReader.object()
Starts reading an object at the current value.
|
boolean |
JsonReader.pop()
Returns to the array or object structure above the current one, and
advances to the next key or value.
|
String |
JsonReader.string()
Parses the current value as a string.
|
Object |
JsonReader.value()
Returns the current value.
|
Copyright © 2020. All rights reserved.