Uses of Class
com.google.gson.JsonSyntaxException
Packages that use JsonSyntaxException
-
Uses of JsonSyntaxException in com.google.gson
Methods in com.google.gson that throw JsonSyntaxExceptionModifier and TypeMethodDescription<T> T
Gson.fromJson
(JsonElement json, TypeToken<T> typeOfT) This method deserializes the JSON read from the specified parse tree into an object of the specified type.<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, TypeToken<T> typeOfT) Reads the next JSON value fromreader
and converts it to an object of typetypeOfT
.<T> T
Gson.fromJson
(JsonReader reader, Type typeOfT) Reads the next JSON value fromreader
and converts it to an object of typetypeOfT
.<T> T
This method deserializes the JSON read from the specified reader into an object of the specified type.<T> T
This method deserializes the JSON read from the specified reader into an object of the specified class.<T> T
This method deserializes the JSON read from the specified reader into an object of the specified type.<T> T
This method deserializes the specified JSON into an object of the specified type.<T> T
This method deserializes the specified JSON into an object of the specified class.<T> T
This method deserializes the specified JSON into an object of the specified type.JsonParser.parse
(JsonReader json) Deprecated.Deprecated.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 complete JSON string provided by the reader into a parse tree.static JsonElement
JsonParser.parseString
(String json) Parses the specified JSON string into a parse tree.
JsonParser.parseReader(JsonReader)