public final class JsonReader extends Object implements Closeable
| Constructor and Description |
|---|
JsonReader(Reader in) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginArray() |
void |
beginObject() |
void |
close() |
void |
endArray() |
void |
endObject() |
boolean |
hasNext() |
boolean |
isLenient() |
boolean |
nextBoolean() |
double |
nextDouble() |
int |
nextInt() |
long |
nextLong() |
String |
nextName() |
void |
nextNull() |
String |
nextString() |
JsonToken |
peek() |
void |
setLenient(boolean lenient) |
void |
skipValue() |
String |
toString() |
public JsonReader(Reader in)
public void setLenient(boolean lenient)
public boolean isLenient()
public void beginArray()
throws IOException
IOExceptionpublic void endArray()
throws IOException
IOExceptionpublic void beginObject()
throws IOException
IOExceptionpublic void endObject()
throws IOException
IOExceptionpublic boolean hasNext()
throws IOException
IOExceptionpublic JsonToken peek() throws IOException
IOExceptionpublic String nextName() throws IOException
IOExceptionpublic String nextString() throws IOException
IOExceptionpublic boolean nextBoolean()
throws IOException
IOExceptionpublic void nextNull()
throws IOException
IOExceptionpublic double nextDouble()
throws IOException
IOExceptionpublic long nextLong()
throws IOException
IOExceptionpublic int nextInt()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void skipValue()
throws IOException
IOExceptionCopyright © 2008-2013. All Rights Reserved.