InputStream
and return the resulting Java content tree. The UTF-8 character encoding scheme will be used to decode the encoded characters of the JSON data.
@param < T> the type of the Java content tree.
@param is the InputStream to unmarshal JSON data from.
@param expectedType the expected type of the Java content tree.
@return the newly created root object of the Java content tree. Thecontent tree may be an instance of a class that is mapped to a XML root element (for example, annotated with {@link XmlRootElement}) or mapped to an XML type (for example, annotated with {@link XmlType}).
@throws JAXBException if any unexpected errors occur while unmarshalling.
@throws UnmarshalException if the JSONUnmarshaller
is unableto perform the JSON to Java binding.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|