Package | Description |
---|---|
com.google.gson |
This package provides the
Gson class to convert Json to Java and
vice-versa. |
Modifier and Type | Class and Description |
---|---|
class |
JsonIOException
This exception is raised when Gson was unable to read an input stream
or write to one.
|
class |
JsonSyntaxException
This exception is raised when Gson attempts to read (or write) a malformed
JSON element.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
JsonDeserializationContext.deserialize(JsonElement json,
java.lang.reflect.Type typeOfT)
Invokes default deserialization on the specified object.
|
T |
JsonDeserializer.deserialize(JsonElement json,
java.lang.reflect.Type typeOfT,
JsonDeserializationContext context)
Gson invokes this call-back method during deserialization when it encounters a field of the
specified type.
|
JsonElement |
JsonStreamParser.next()
Returns the next available
JsonElement on the reader. |
Copyright © 2018. All Rights Reserved.