Uses of Class
com.google.gson.stream.JsonReader
-
Packages that use JsonReader Package Description com.google.gson This package provides theGsonclass to convert Json to Java and vice-versa.com.google.gson.interceptors 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 com.google.gson.internal.sql com.google.gson.typeadapters -
-
Uses of JsonReader in com.google.gson
Fields in com.google.gson declared as JsonReader Modifier and Type Field Description private JsonReaderJsonStreamParser. parserMethods in com.google.gson that return JsonReader Modifier and Type Method Description JsonReaderGson. 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 private static voidGson. assertFullConsumption(java.lang.Object obj, JsonReader reader)<T> TGson. fromJson(JsonReader reader, TypeToken<T> typeOfT)Reads the next JSON value fromreaderand converts it to an object of typetypeOfT.<T> TGson. fromJson(JsonReader reader, java.lang.reflect.Type typeOfT)Reads the next JSON value fromreaderand converts it to an object of typetypeOfT.JsonElementJsonParser. parse(JsonReader json)Deprecated.static JsonElementJsonParser. parseReader(JsonReader reader)Returns the next value from the JSON stream as a parse tree.TGson.FutureTypeAdapter. read(JsonReader in)TTypeAdapter.NullSafeTypeAdapter. read(JsonReader reader)abstract TTypeAdapter. read(JsonReader in)Reads one JSON value (an array, object, string, number, boolean or null) and converts it to a Java object.java.lang.NumberToNumberStrategy. 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 Modifier and Type Method Description TInterceptorFactory.InterceptorAdapter. read(JsonReader in) -
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 JsonElementStreams. parse(JsonReader reader)Takes a reader in any state and returns the next value as a JsonElement.abstract voidJsonReaderInternalAccess. 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 classJsonTreeReaderThis 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 private java.util.DateDefaultDateTypeAdapter. deserializeToDate(JsonReader in)java.lang.ObjectArrayTypeAdapter. read(JsonReader in)java.util.Collection<E>CollectionTypeAdapterFactory.Adapter. read(JsonReader in)TDefaultDateTypeAdapter. read(JsonReader in)TEnumTypeAdapter. read(JsonReader in)JsonElementJsonElementTypeAdapter. read(JsonReader in)java.util.Map<K,V>MapTypeAdapterFactory.Adapter. read(JsonReader in)java.lang.NumberNumberTypeAdapter. read(JsonReader in)java.lang.ObjectObjectTypeAdapter. read(JsonReader in)TReflectiveTypeAdapterFactory.Adapter. read(JsonReader in)TTreeTypeAdapter. read(JsonReader in)TTypeAdapterRuntimeTypeWrapper. read(JsonReader in)(package private) abstract voidReflectiveTypeAdapterFactory.Adapter. readField(A accumulator, JsonReader in, ReflectiveTypeAdapterFactory.BoundField field)Read a single BoundField into the accumulator.(package private) voidReflectiveTypeAdapterFactory.FieldReflectionAdapter. readField(T accumulator, JsonReader in, ReflectiveTypeAdapterFactory.BoundField field)(package private) voidReflectiveTypeAdapterFactory.RecordAdapter. readField(java.lang.Object[] accumulator, JsonReader in, ReflectiveTypeAdapterFactory.BoundField field)(package private) abstract voidReflectiveTypeAdapterFactory.BoundField. readIntoArray(JsonReader reader, int index, java.lang.Object[] target)Read the value into the target array, used to provide constructor arguments for records(package private) abstract voidReflectiveTypeAdapterFactory.BoundField. readIntoField(JsonReader reader, java.lang.Object target)Read the value from the reader, and set it on the corresponding field on target via reflectionprivate JsonElementJsonElementTypeAdapter. readTerminal(JsonReader in, JsonToken peeked)Reads aJsonElementwhich cannot have any nested elementsprivate java.lang.ObjectObjectTypeAdapter. readTerminal(JsonReader in, JsonToken peeked)Reads anObjectwhich cannot have any nested elementsprivate JsonElementJsonElementTypeAdapter. tryBeginNesting(JsonReader in, JsonToken peeked)Tries to begin reading a JSON array or JSON object, returningnullif the next element is neither of those.private java.lang.ObjectObjectTypeAdapter. tryBeginNesting(JsonReader in, JsonToken peeked)Tries to begin reading a JSON array or JSON object, returningnullif 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 JsonReader Modifier and Type Method Description java.sql.DateSqlDateTypeAdapter. read(JsonReader in)java.sql.TimestampSqlTimestampTypeAdapter. read(JsonReader in)java.sql.TimeSqlTimeTypeAdapter. read(JsonReader in) -
Uses of JsonReader in com.google.gson.typeadapters
Methods in com.google.gson.typeadapters with parameters of type JsonReader Modifier and Type Method Description TPostConstructAdapterFactory.PostConstructAdapter. read(JsonReader in)java.util.DateUtcDateTypeAdapter. read(JsonReader in)
-