T - the type to decode topublic static interface DTOs.Dec<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get(java.lang.CharSequence in)
Decode JSON from a a CharSequence
|
T |
get(java.io.InputStream in)
Decode JSON from an input stream with UTF-8 encoding
|
T |
get(java.io.InputStream in,
java.lang.String charset)
Decode JSON from an input stream and specify the character set to b
used.
|
T |
get(java.io.Reader in)
Decode JSON from a reader
|
T get(java.io.InputStream in) throws java.lang.Exception
in - the input streamjava.lang.ExceptionT get(java.io.InputStream in, java.lang.String charset) throws java.lang.Exception
in - the input streamcharset - The character set to usejava.lang.ExceptionT get(java.io.Reader in) throws java.lang.Exception
in - the readerjava.lang.ExceptionT get(java.lang.CharSequence in) throws java.lang.Exception
in - the Char Sequencejava.lang.ExceptionCopyright (c) OSGi Alliance (2014, 2020). All Rights Reserved.