<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.
|
JsonElement |
JsonParser.parse(JsonReader json) |
Deprecated.
|
JsonElement |
JsonParser.parse(java.io.Reader 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 complete JSON string provided by the reader into a parse tree.
|
void |
Gson.toJson(JsonElement jsonElement,
JsonWriter writer) |
Writes the JSON for jsonElement to writer .
|
void |
Gson.toJson(JsonElement jsonElement,
java.lang.Appendable writer) |
Writes out the equivalent JSON for a tree of JsonElement s.
|
void |
Gson.toJson(java.lang.Object src,
java.lang.Appendable writer) |
This method serializes the specified object into its equivalent Json representation.
|
void |
Gson.toJson(java.lang.Object src,
java.lang.reflect.Type typeOfSrc,
JsonWriter writer) |
Writes the JSON representation of src of type typeOfSrc to
writer .
|
void |
Gson.toJson(java.lang.Object src,
java.lang.reflect.Type typeOfSrc,
java.lang.Appendable writer) |
This method serializes the specified object, including those of generic types, into its
equivalent Json representation.
|