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.IOException
public java.lang.Object readObject(java.lang.String type) throws java.io.IOException
java.io.IOException
public <T> T readObject(java.lang.Class<T> type) throws java.io.IOException
java.io.IOException
public long readLong() throws java.io.IOException
java.io.IOException
public double readDouble() throws java.io.IOException
java.io.IOException
public java.lang.String readString() throws java.io.IOException
java.io.IOException
public boolean startPacket() throws java.io.IOException
java.io.IOException
public void endPacket() throws java.io.IOException
java.io.IOException
public void parseBeanMap(java.lang.Object bean, JsonDeserializer deser) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException