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. -
-
Uses of JsonReader in com.google.gson
Methods in com.google.gson that return JsonReader Modifier and Type Method Description JsonReader
Gson. newJsonReader(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, 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
.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.Number
ToNumberStrategy. readNumber(JsonReader in)
Reads a number from the given JSON reader.
-