<T> T |
Gson.fromJson(JsonElement json,
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,
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,
Type typeOfT) |
Reads the next JSON value from reader and convert it to an object
of type typeOfT .
|
<T> T |
Gson.fromJson(Reader json,
Class<T> classOfT) |
This method deserializes the Json read from the specified reader into an object of the
specified class.
|
<T> T |
Gson.fromJson(Reader json,
Type typeOfT) |
This method deserializes the Json read from the specified reader into an object of the
specified type.
|
<T> T |
Gson.fromJson(String json,
Class<T> classOfT) |
This method deserializes the specified Json into an object of the specified class.
|
<T> T |
Gson.fromJson(String json,
Type typeOfT) |
This method deserializes the specified Json into an object of the specified type.
|
JsonElement |
JsonParser.parse(JsonReader json) |
Deprecated.
|
JsonElement |
JsonParser.parse(Reader json) |
Deprecated.
|
JsonElement |
JsonParser.parse(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(Reader reader) |
Parses the specified JSON string into a parse tree
|
static JsonElement |
JsonParser.parseString(String json) |
Parses the specified JSON string into a parse tree
|