Java org.json JSONWriter fields, constructors, methods, implement or subclass

Example usage for Java org.json JSONWriter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.json JSONWriter.

The text is from its open source code.

Constructor

JSONWriter(Writer w)
Make a fresh JSONWriter.
JSONWriter

Method

JSONWriterarray()
Begin appending a new array.
JSONWriterendArray()
End an array.
JSONWriterendObject()
End an object.
JSONWriterkey(String string)
Append a key.
JSONWriterobject()
Begin appending a new object.
StringtoString()
Returns a string representation of the object.
JSONWritervalue(boolean b)
Append either the value true or the value false.
JSONWritervalue(double d)
Append a double value.
JSONWritervalue(long l)
Append a long value.
JSONWritervalue(Object object)
Append an object value.