public class JsonInput
extends java.lang.Object
| Constructor and Description |
|---|
JsonInput() |
JsonInput(java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
endPacket() |
void |
init(java.io.InputStream is)
Initialize the output with a new underlying stream.
|
void |
parseBeanMap(java.lang.Object bean,
JsonDeserializer deser) |
double |
readDouble() |
long |
readLong() |
java.lang.Object |
readObject() |
<T> T |
readObject(java.lang.Class<T> type) |
java.lang.Object |
readObject(java.lang.String type) |
java.lang.String |
readString() |
boolean |
startPacket() |
public void init(java.io.InputStream is)
public java.lang.Object readObject()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object readObject(java.lang.String type)
throws java.io.IOException
java.io.IOExceptionpublic <T> T readObject(java.lang.Class<T> type)
throws java.io.IOException
java.io.IOExceptionpublic long readLong()
throws java.io.IOException
java.io.IOExceptionpublic double readDouble()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String readString()
throws java.io.IOException
java.io.IOExceptionpublic boolean startPacket()
throws java.io.IOException
java.io.IOExceptionpublic void endPacket()
throws java.io.IOException
java.io.IOExceptionpublic void parseBeanMap(java.lang.Object bean,
JsonDeserializer deser)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOException