Java android.util JsonWriter fields, constructors, methods, implement or subclass

Example usage for Java android.util JsonWriter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.util JsonWriter.

The text is from its open source code.

Constructor

JsonWriter(Writer out)
Creates a new instance that writes a JSON-encoded stream to out .

Method

JsonWriterbeginArray()
Begins encoding a new array.
JsonWriterbeginObject()
Begins encoding a new object.
voidclose()
Flushes and closes this writer and the underlying Writer .
JsonWriterendArray()
Ends encoding the current array.
JsonWriterendObject()
Ends encoding the current object.
JsonWritername(String name)
Encodes the property name.
voidsetIndent(String indent)
Sets the indentation string to be repeated for each level of indentation in the encoded document.
JsonWritervalue(String value)
Encodes value .
JsonWritervalue(boolean value)
Encodes value .
JsonWritervalue(double value)
Encodes value .
JsonWritervalue(long value)
Encodes value .
JsonWritervalue(Number value)
Encodes value .