public class JSONInputStream
extends org.quickconnectfamily.json.JSONStream
Constructor and Description |
---|
JSONInputStream(java.io.InputStream theByteStream) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the stream used.
|
java.lang.Object |
readObject()
Reads a HashMap or ArrayList from the underlying stream
|
public JSONInputStream(java.io.InputStream theByteStream)
theByteStream
- - the stream from which the JSON is to be read.public java.lang.Object readObject() throws JSONException, ParseException
JSONException
ParseException
public void close() throws java.io.IOException
java.io.IOException