Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.google.gson.stream.JsonWriter

Packages that use JsonWriter
com.google.gson | This package provides the `Gson` class to convert Json to Java and vice-versa.
com.google.gson.stream |

Uses of JsonWriter in com.google.gson

Methods in com.google.gson with parameters of type JsonWriter
`void` | `Gson.toJson(JsonElement jsonElement, JsonWriter writer)` Writes the JSON for `jsonElement` to `writer`.
`void` | `Gson.toJson(Object src, Type typeOfSrc, JsonWriter writer)` Writes the JSON representation of `src` of type `typeOfSrc` to `writer`.
`abstract void` | `TypeAdapter.write(JsonWriter out, T value)` Writes one JSON value (an array, object, string, number, boolean or null) for `value`.

Uses of JsonWriter in com.google.gson.stream

Methods in com.google.gson.stream that return JsonWriter
`JsonWriter` | `JsonWriter.beginArray()` Begins encoding a new array.
`JsonWriter` | `JsonWriter.beginObject()` Begins encoding a new object.
`JsonWriter` | `JsonWriter.endArray()` Ends encoding the current array.
`JsonWriter` | `JsonWriter.endObject()` Ends encoding the current object.
`JsonWriter` | `JsonWriter.name(String name)` Encodes the property name.
`JsonWriter` | `JsonWriter.nullValue()` Encodes `null`.
`JsonWriter` | `JsonWriter.value(boolean value)` Encodes `value`.
`JsonWriter` | `JsonWriter.value(double value)` Encodes `value`.
`JsonWriter` | `JsonWriter.value(long value)` Encodes `value`.
`JsonWriter` | `JsonWriter.value(Number value)` Encodes `value`.
`JsonWriter` | `JsonWriter.value(String value)` Encodes `value`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2008–2014 Google, Inc.. All rights reserved.