|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JsonSyntaxException | |
|---|---|
| com.google.gson | This package provides the Gson class to convert Json to Java and
vice-versa. |
| Uses of JsonSyntaxException in com.google.gson |
|---|
| Methods in com.google.gson that throw JsonSyntaxException | ||
|---|---|---|
|
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. |
|
|
Gson.fromJson(JsonElement json,
Type typeOfT)
This method deserializes the Json read from the specified parse tree into an object of the specified type. |
|
|
Gson.fromJson(JsonReader reader,
Type typeOfT)
Reads the next JSON value from reader and convert it to an object
of type typeOfT. |
|
|
Gson.fromJson(Reader json,
Class<T> classOfT)
This method deserializes the Json read from the specified reader into an object of the specified class. |
|
|
Gson.fromJson(Reader json,
Type typeOfT)
This method deserializes the Json read from the specified reader into an object of the specified type. |
|
|
Gson.fromJson(String json,
Class<T> classOfT)
This method deserializes the specified Json into an object of the specified class. |
|
|
Gson.fromJson(String json,
Type typeOfT)
This method deserializes the specified Json into an object of the specified type. |
|
JsonElement |
JsonParser.parse(JsonReader json)
Returns the next value from the JSON stream as a parse tree. |
|
JsonElement |
JsonParser.parse(Reader json)
Parses the specified JSON string into a parse tree |
|
JsonElement |
JsonParser.parse(String json)
Parses the specified JSON string into a parse tree |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||