Uses of Class
com.google.gson.stream.JsonReader
-
Packages that use JsonReader Package Description com.google.gson This package provides theGson
class to convert Json to Java and vice-versa.com.google.gson.internal Do NOT use any class in this package as they are meant for internal use in Gson.com.google.gson.internal.bind -
-
Uses of JsonReader in com.google.gson
Methods in com.google.gson that return JsonReader Modifier and Type Method Description JsonReader
Gson. newJsonReader(java.io.Reader reader)
Returns a new JSON reader configured for the settings on this Gson instance.Methods in com.google.gson with parameters of type JsonReader Modifier and Type Method Description <T> T
Gson. fromJson(JsonReader reader, java.lang.reflect.Type typeOfT)
Reads the next JSON value fromreader
and convert it to an object of typetypeOfT
.JsonElement
JsonParser. parse(JsonReader json)
Deprecated.static JsonElement
JsonParser. parseReader(JsonReader reader)
Returns the next value from the JSON stream as a parse tree.abstract T
TypeAdapter. read(JsonReader in)
Reads one JSON value (an array, object, string, number, boolean or null) and converts it to a Java object.java.lang.Number
ToNumberStrategy. readNumber(JsonReader in)
Reads a number from the given JSON reader. -
Uses of JsonReader in com.google.gson.internal
Methods in com.google.gson.internal with parameters of type JsonReader Modifier and Type Method Description static JsonElement
Streams. parse(JsonReader reader)
Takes a reader in any state and returns the next value as a JsonElement.abstract void
JsonReaderInternalAccess. promoteNameToValue(JsonReader reader)
Changes the type of the current property name token to a string value. -
Uses of JsonReader in com.google.gson.internal.bind
Subclasses of JsonReader in com.google.gson.internal.bind Modifier and Type Class Description class
JsonTreeReader
This reader walks the elements of a JsonElement as if it was coming from a character stream.Methods in com.google.gson.internal.bind with parameters of type JsonReader Modifier and Type Method Description java.lang.Object
ArrayTypeAdapter. read(JsonReader in)
java.util.Date
DateTypeAdapter. read(JsonReader in)
T
DefaultDateTypeAdapter. read(JsonReader in)
java.lang.Number
NumberTypeAdapter. read(JsonReader in)
java.lang.Object
ObjectTypeAdapter. read(JsonReader in)
T
ReflectiveTypeAdapterFactory.Adapter. read(JsonReader in)
T
TreeTypeAdapter. read(JsonReader in)
-