A JSONWriter dedicated to create indented/pretty printed output.
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
DEFAULT_INDENT_STR |
|
static java.lang.String |
NEWLINE |
| Fields inherited from class | Fields |
|---|---|
class JSONWriter |
comma, mode, writer |
| Constructor and description |
|---|
PrettyPrintJSONWriter
(java.io.Writer w) |
PrettyPrintJSONWriter
(java.io.Writer w, java.lang.String indentStr) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected JSONWriter |
append(groovy.lang.Writable writableValue) |
|
JSONWriter |
array() |
|
protected JSONWriter |
end(Mode m, char c) |
|
JSONWriter |
endArray() |
|
JSONWriter |
endObject() |
|
JSONWriter |
key(java.lang.String s) |
|
JSONWriter |
object() |