Uses of Class
com.google.gson.stream.JsonWriter
-
Packages that use JsonWriter Package Description com.google.gson This package provides theGsonclass to convert Json to Java and vice-versa.com.google.gson.graph 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.stream This package provides classes for processing JSON in an efficient streaming way.com.google.gson.typeadapters -
-
Uses of JsonWriter in com.google.gson
Methods in com.google.gson that return JsonWriter Modifier and Type Method Description JsonWriterGson. newJsonWriter(java.io.Writer writer)Returns a new JSON writer configured for the settings on this Gson instance.Methods in com.google.gson with parameters of type JsonWriter Modifier and Type Method Description voidGson. toJson(JsonElement jsonElement, JsonWriter writer)Writes the JSON forjsonElementtowriter.voidGson. toJson(java.lang.Object src, java.lang.reflect.Type typeOfSrc, JsonWriter writer)Writes the JSON representation ofsrcof typetypeOfSrctowriter.voidGson.FutureTypeAdapter. write(JsonWriter out, T value)voidTypeAdapter.NullSafeTypeAdapter. write(JsonWriter out, T value)abstract voidTypeAdapter. write(JsonWriter out, T value)Writes one JSON value (an array, object, string, number, boolean or null) forvalue. -
Uses of JsonWriter in com.google.gson.graph
Methods in com.google.gson.graph with parameters of type JsonWriter Modifier and Type Method Description (package private) voidGraphAdapterBuilder.Element. write(JsonWriter out) -
Uses of JsonWriter in com.google.gson.interceptors
Methods in com.google.gson.interceptors with parameters of type JsonWriter Modifier and Type Method Description voidInterceptorFactory.InterceptorAdapter. write(JsonWriter out, T value) -
Uses of JsonWriter in com.google.gson.internal
Methods in com.google.gson.internal with parameters of type JsonWriter Modifier and Type Method Description static voidStreams. write(JsonElement element, JsonWriter writer)Writes the JSON element to the writer, recursively. -
Uses of JsonWriter in com.google.gson.internal.bind
Subclasses of JsonWriter in com.google.gson.internal.bind Modifier and Type Class Description classJsonTreeWriterThis writer creates a JsonElement.Methods in com.google.gson.internal.bind that return JsonWriter Modifier and Type Method Description JsonWriterJsonTreeWriter. beginArray()JsonWriterJsonTreeWriter. beginObject()JsonWriterJsonTreeWriter. endArray()JsonWriterJsonTreeWriter. endObject()JsonWriterJsonTreeWriter. jsonValue(java.lang.String value)JsonWriterJsonTreeWriter. name(java.lang.String name)JsonWriterJsonTreeWriter. nullValue()JsonWriterJsonTreeWriter. value(boolean value)JsonWriterJsonTreeWriter. value(double value)JsonWriterJsonTreeWriter. value(float value)JsonWriterJsonTreeWriter. value(long value)JsonWriterJsonTreeWriter. value(java.lang.Boolean value)JsonWriterJsonTreeWriter. value(java.lang.Number value)JsonWriterJsonTreeWriter. value(java.lang.String value)Methods in com.google.gson.internal.bind with parameters of type JsonWriter Modifier and Type Method Description voidArrayTypeAdapter. write(JsonWriter out, java.lang.Object array)voidCollectionTypeAdapterFactory.Adapter. write(JsonWriter out, java.util.Collection<E> collection)voidDefaultDateTypeAdapter. write(JsonWriter out, java.util.Date value)voidEnumTypeAdapter. write(JsonWriter out, T value)voidJsonElementTypeAdapter. write(JsonWriter out, JsonElement value)voidMapTypeAdapterFactory.Adapter. write(JsonWriter out, java.util.Map<K,V> map)voidNumberTypeAdapter. write(JsonWriter out, java.lang.Number value)voidObjectTypeAdapter. write(JsonWriter out, java.lang.Object value)voidReflectiveTypeAdapterFactory.Adapter. write(JsonWriter out, T value)(package private) abstract voidReflectiveTypeAdapterFactory.BoundField. write(JsonWriter writer, java.lang.Object source)Read this field value from the source, and append its JSON value to the writervoidTreeTypeAdapter. write(JsonWriter out, T value)voidTypeAdapterRuntimeTypeWrapper. write(JsonWriter out, T value) -
Uses of JsonWriter in com.google.gson.internal.sql
Methods in com.google.gson.internal.sql with parameters of type JsonWriter Modifier and Type Method Description voidSqlDateTypeAdapter. write(JsonWriter out, java.sql.Date value)voidSqlTimestampTypeAdapter. write(JsonWriter out, java.sql.Timestamp value)voidSqlTimeTypeAdapter. write(JsonWriter out, java.sql.Time value) -
Uses of JsonWriter in com.google.gson.stream
Methods in com.google.gson.stream that return JsonWriter Modifier and Type Method Description JsonWriterJsonWriter. beginArray()Begins encoding a new array.JsonWriterJsonWriter. beginObject()Begins encoding a new object.private JsonWriterJsonWriter. closeScope(int empty, int nonempty, char closeBracket)Closes the current scope by appending any necessary whitespace and the given bracket.JsonWriterJsonWriter. endArray()Ends encoding the current array.JsonWriterJsonWriter. endObject()Ends encoding the current object.JsonWriterJsonWriter. jsonValue(java.lang.String value)Writesvaluedirectly to the writer without quoting or escaping.JsonWriterJsonWriter. name(java.lang.String name)Encodes the property name.JsonWriterJsonWriter. nullValue()Encodesnull.private JsonWriterJsonWriter. openScope(int empty, char openBracket)Enters a new scope by appending any necessary whitespace and the given bracket.JsonWriterJsonWriter. value(boolean value)Encodesvalue.JsonWriterJsonWriter. value(double value)Encodesvalue.JsonWriterJsonWriter. value(float value)Encodesvalue.JsonWriterJsonWriter. value(long value)Encodesvalue.JsonWriterJsonWriter. value(java.lang.Boolean value)Encodesvalue.JsonWriterJsonWriter. value(java.lang.Number value)Encodesvalue.JsonWriterJsonWriter. value(java.lang.String value)Encodesvalue. -
Uses of JsonWriter in com.google.gson.typeadapters
Methods in com.google.gson.typeadapters with parameters of type JsonWriter Modifier and Type Method Description voidPostConstructAdapterFactory.PostConstructAdapter. write(JsonWriter out, T value)voidUtcDateTypeAdapter. write(JsonWriter out, java.util.Date date)
-