public class JsonInputStreamReader<T> extends JsonStreamReader<java.io.InputStream,T>
JsonStreamReader
that de-serialises from an InputStream
.JsonOutputStreamWriter
Constructor and Description |
---|
JsonInputStreamReader(java.lang.Class<T> valueType)
Creates a new instance.
|
JsonInputStreamReader(java.lang.Class<T> valueType,
java.nio.charset.Charset encoding)
Creates a new instance.
|
read
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
uncheckedRead
public JsonInputStreamReader(java.lang.Class<T> valueType, java.nio.charset.Charset encoding)
valueType
- the class of the object to read.encoding
- which character set to use to read the serialised JSON
values from the input stream.java.lang.NullPointerException
- if any argument is null
.public JsonInputStreamReader(java.lang.Class<T> valueType)
valueType
- the class of the object to read.java.lang.NullPointerException
- if the argument is null
.