public class JSONWriter extends Object
| Modifier and Type | Method and Description |
|---|---|
JSONWriter |
beginArray() |
JSONWriter |
beginObject() |
JSONWriter |
endArray() |
JSONWriter |
endObject() |
JSONWriter |
flush() |
JSONWriter |
name(String name) |
JSONWriter |
value(Object value) |
public JSONWriter beginObject() throws IOException
IOExceptionpublic JSONWriter endObject() throws IOException
IOExceptionpublic JSONWriter beginArray() throws IOException
IOExceptionpublic JSONWriter endArray() throws IOException
IOExceptionpublic JSONWriter name(String name) throws IOException
IOExceptionpublic JSONWriter value(Object value) throws IOException
IOExceptionpublic JSONWriter flush() throws IOException
IOException