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.stream -
-
Uses of JsonWriter in com.google.gson
Methods in com.google.gson that return JsonWriter Modifier and Type Method Description JsonWriterGson. newJsonWriter(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(Object src, Type typeOfSrc, JsonWriter writer)Writes the JSON representation ofsrcof typetypeOfSrctowriter.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.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.JsonWriterJsonWriter. endArray()Ends encoding the current array.JsonWriterJsonWriter. endObject()Ends encoding the current object.JsonWriterJsonWriter. jsonValue(String value)Writesvaluedirectly to the writer without quoting or escaping.JsonWriterJsonWriter. name(String name)Encodes the property name.JsonWriterJsonWriter. nullValue()Encodesnull.JsonWriterJsonWriter. value(boolean value)Encodesvalue.JsonWriterJsonWriter. value(double value)Encodesvalue.JsonWriterJsonWriter. value(long value)Encodesvalue.JsonWriterJsonWriter. value(Boolean value)Encodesvalue.JsonWriterJsonWriter. value(Number value)Encodesvalue.JsonWriterJsonWriter. value(String value)Encodesvalue.
-