Package | Description |
---|---|
IO.JSON.Gson.com.google.gson |
This package provides the
com.google.gson.Gson class to convert Json to Java and
vice-versa. |
IO.JSON.Gson.com.google.gson.internal |
Do NOT use any class in this package as they are meant for internal use in Gson.
|
IO.JSON.Gson.com.google.gson.internal.bind |
Modifier and Type | Method and Description |
---|---|
JsonReader |
Gson.newJsonReader(java.io.Reader reader)
Returns a new JSON reader configured for the settings on this Gson instance.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Gson.fromJson(JsonReader reader,
java.lang.reflect.Type typeOfT)
Reads the next JSON value from
reader and convert it to an object
of type typeOfT . |
JsonElement |
JsonParser.parse(JsonReader json)
Returns the next value from the JSON stream as a parse tree.
|
abstract T |
TypeAdapter.read(JsonReader in)
Reads one JSON value (an array, object, string, number, boolean or null)
and converts it to a Java object.
|
Modifier and Type | Method and Description |
---|---|
static JsonElement |
Streams.parse(JsonReader reader)
Takes a reader in any state and returns the next value as a JsonElement.
|
abstract void |
JsonReaderInternalAccess.promoteNameToValue(JsonReader reader)
Changes the type of the current property name token to a string value.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonTreeReader
This reader walks the elements of a JsonElement as if it was coming from a
character stream.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ArrayTypeAdapter.read(JsonReader in) |
java.util.Date |
DateTypeAdapter.read(JsonReader in) |
java.lang.Object |
ObjectTypeAdapter.read(JsonReader in) |
T |
ReflectiveTypeAdapterFactory.Adapter.read(JsonReader in) |
java.sql.Date |
SqlDateTypeAdapter.read(JsonReader in) |
java.sql.Time |
TimeTypeAdapter.read(JsonReader in) |
T |
TreeTypeAdapter.read(JsonReader in) |