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> TGson.fromJson(JsonReader reader, TypeToken<T> typeOfT) Reads the next JSON value fromreaderand converts it to an object of typetypeOfT.<T> TGson.fromJson(JsonReader reader, Type typeOfT) Reads the next JSON value fromreaderand converts it to an object of typetypeOfT.<T> TThis method deserializes the JSON read from the specified reader into an object of the specified type.<T> TThis method deserializes the JSON read from the specified reader into an object of the specified class.<T> TThis method deserializes the JSON read from the specified reader into an object of the specified type.JsonParser.parse(JsonReader json) Deprecated.Deprecated.static JsonElementJsonParser.parseReader(JsonReader reader) Returns the next value from the JSON stream as a parse tree.static JsonElementJsonParser.parseReader(Reader reader) Parses the complete JSON string provided by the reader into a parse tree.voidGson.toJson(JsonElement jsonElement, JsonWriter writer) Writes the JSON forjsonElementtowriter.voidGson.toJson(JsonElement jsonElement, Appendable writer) Writes out the equivalent JSON for a tree ofJsonElements.voidGson.toJson(Object src, Appendable writer) This method serializes the specified object into its equivalent JSON representation and writes it to the writer.voidGson.toJson(Object src, Type typeOfSrc, JsonWriter writer) Writes the JSON representation ofsrcof typetypeOfSrctowriter.voidGson.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.
JsonParser.parseReader(JsonReader)