Uses of Class
com.google.gson.JsonIOException
Packages that use JsonIOException
-
Uses of JsonIOException in com.google.gson
Methods in com.google.gson that throw JsonIOExceptionModifier and TypeMethodDescription<T> T
Gson.fromJson
(JsonReader reader, Type typeOfT) Reads the next JSON value fromreader
and convert it to an object of typetypeOfT
.<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.JsonParser.parse
(JsonReader json) 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 specified JSON string into a parse treevoid
Gson.toJson
(JsonElement jsonElement, JsonWriter writer) Writes the JSON forjsonElement
towriter
.void
Gson.toJson
(JsonElement jsonElement, Appendable writer) Writes out the equivalent JSON for a tree ofJsonElement
s.void
Gson.toJson
(Object src, Appendable writer) This method serializes the specified object into its equivalent Json representation.void
Gson.toJson
(Object src, Type typeOfSrc, JsonWriter writer) Writes the JSON representation ofsrc
of typetypeOfSrc
towriter
.void
Gson.toJson
(Object src, Type typeOfSrc, Appendable writer) This method serializes the specified object, including those of generic types, into its equivalent Json representation.
JsonParser.parseReader(JsonReader)