<T> T |
Gson.fromJson(JsonElement json,
java.lang.Class<T> classOfT) |
This method deserializes the Json read from the specified parse tree into an object of the
specified type.
|
<T> T |
Gson.fromJson(JsonElement json,
java.lang.reflect.Type typeOfT) |
This method deserializes the Json read from the specified parse tree into an object of the
specified type.
|
<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 .
|
<T> T |
Gson.fromJson(java.io.Reader json,
java.lang.Class<T> classOfT) |
This method deserializes the Json read from the specified reader into an object of the
specified class.
|
<T> T |
Gson.fromJson(java.io.Reader json,
java.lang.reflect.Type typeOfT) |
This method deserializes the Json read from the specified reader into an object of the
specified type.
|
<T> T |
Gson.fromJson(java.lang.String json,
java.lang.Class<T> classOfT) |
This method deserializes the specified Json into an object of the specified class.
|
<T> T |
Gson.fromJson(java.lang.String json,
java.lang.reflect.Type typeOfT) |
This method deserializes the specified Json into an object of the specified type.
|
JsonElement |
JsonParser.parse(JsonReader json) |
Deprecated.
|
JsonElement |
JsonParser.parse(java.io.Reader json) |
Deprecated.
|
JsonElement |
JsonParser.parse(java.lang.String json) |
Deprecated.
|
static JsonElement |
JsonParser.parseReader(JsonReader reader) |
Returns the next value from the JSON stream as a parse tree.
|
static JsonElement |
JsonParser.parseReader(java.io.Reader reader) |
Parses the specified JSON string into a parse tree
|
static JsonElement |
JsonParser.parseString(java.lang.String json) |
Parses the specified JSON string into a parse tree
|