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, Type typeOfT) Reads the next JSON value fromreaderand convert it to an object of typetypeOfT.<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 specified JSON string into a parse treevoidGson.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.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.
JsonParser.parseReader(JsonReader)