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, 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.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 complete JSON string provided by the reader into a parse tree.void
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 and writes it to the writer.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 and writes it to the writer. -
Uses of JsonIOException in com.google.gson.internal.reflect
Methods in com.google.gson.internal.reflect that throw JsonIOExceptionModifier and TypeMethodDescriptionstatic void
ReflectionHelper.makeAccessible
(AccessibleObject object) Internal implementation of making anAccessibleObject
accessible.
JsonParser.parseReader(JsonReader)