Uses of Class
com.google.gson.stream.JsonReader
Packages that use JsonReader
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 JsonReader in com.google.gson
Fields in com.google.gson declared as JsonReaderMethods in com.google.gson that return JsonReaderModifier and TypeMethodDescriptionGson.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 JsonReaderModifier and TypeMethodDescriptionprivate static void
Gson.assertFullConsumption
(Object obj, JsonReader reader) <T> T
Gson.fromJson
(JsonReader reader, Type typeOfT) Reads the next JSON value fromreader
and convert it to an object of typetypeOfT
.JsonParser.parse
(JsonReader json) Deprecated.static JsonElement
JsonParser.parseReader
(JsonReader reader) Returns the next value from the JSON stream as a parse tree.Gson.FutureTypeAdapter.read
(JsonReader in) 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.ToNumberStrategy.readNumber
(JsonReader in) Reads a number from the given JSON reader. -
Uses of JsonReader in com.google.gson.interceptors
Methods in com.google.gson.interceptors with parameters of type JsonReader -
Uses of JsonReader in com.google.gson.internal
Methods in com.google.gson.internal with parameters of type JsonReaderModifier and TypeMethodDescriptionstatic 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.bindModifier and TypeClassDescriptionfinal class
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 JsonReaderModifier and TypeMethodDescriptionprivate Date
DateTypeAdapter.deserializeToDate
(JsonReader in) private Date
DefaultDateTypeAdapter.deserializeToDate
(JsonReader in) ArrayTypeAdapter.read
(JsonReader in) CollectionTypeAdapterFactory.Adapter.read
(JsonReader in) DateTypeAdapter.read
(JsonReader in) DefaultDateTypeAdapter.read
(JsonReader in) MapTypeAdapterFactory.Adapter.read
(JsonReader in) NumberTypeAdapter.read
(JsonReader in) ObjectTypeAdapter.read
(JsonReader in) ReflectiveTypeAdapterFactory.Adapter.read
(JsonReader in) (package private) abstract void
ReflectiveTypeAdapterFactory.BoundField.read
(JsonReader reader, Object value) TreeTypeAdapter.read
(JsonReader in) TypeAdapterRuntimeTypeWrapper.read
(JsonReader in) TypeAdapters.EnumTypeAdapter.read
(JsonReader in) private Object
ObjectTypeAdapter.readTerminal
(JsonReader in, JsonToken peeked) Reads anObject
which cannot have any nested elementsprivate Object
ObjectTypeAdapter.tryBeginNesting
(JsonReader in, JsonToken peeked) Tries to begin reading a JSON array or JSON object, returningnull
if the next element is neither of those. -
Uses of JsonReader in com.google.gson.internal.sql
Methods in com.google.gson.internal.sql with parameters of type JsonReaderModifier and TypeMethodDescriptionSqlDateTypeAdapter.read
(JsonReader in) SqlTimestampTypeAdapter.read
(JsonReader in) SqlTimeTypeAdapter.read
(JsonReader in) -
Uses of JsonReader in com.google.gson.typeadapters
Methods in com.google.gson.typeadapters with parameters of type JsonReader
JsonParser.parseReader(JsonReader)