Uses of Class
com.google.gson.JsonParseException
Packages that use JsonParseException
Package
Description
This package provides the
Gson
class to convert Json to Java and
vice-versa.Do NOT use any class in this package as they are meant for internal use in Gson.
-
Uses of JsonParseException in com.google.gson
Subclasses of JsonParseException in com.google.gsonModifier and TypeClassDescriptionfinal class
This exception is raised when Gson was unable to read an input stream or write to one.final class
This exception is raised when Gson attempts to read (or write) a malformed JSON element.Methods in com.google.gson that throw JsonParseExceptionModifier and TypeMethodDescription<T> T
JsonDeserializationContext.deserialize
(JsonElement json, Type typeOfT) Invokes default deserialization on the specified object.JsonDeserializer.deserialize
(JsonElement json, Type typeOfT, JsonDeserializationContext context) Gson invokes this call-back method during deserialization when it encounters a field of the specified type.JsonStreamParser.next()
Returns the next availableJsonElement
on the reader. -
Uses of JsonParseException in com.google.gson.internal
Methods in com.google.gson.internal that throw JsonParseExceptionModifier and TypeMethodDescriptionstatic JsonElement
Streams.parse
(JsonReader reader) Takes a reader in any state and returns the next value as a JsonElement.