public abstract class WriterConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static WriterConfig |
MINIMAL
Write JSON in its minimal form, without any additional whitespace.
|
static WriterConfig |
PRETTY_PRINT
Write JSON in pretty-print, with each value on a separate line and an indentation of two
spaces.
|
| Constructor and Description |
|---|
WriterConfig() |
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract JsonWriter |
createWriter(Writer writer) |
public static WriterConfig MINIMAL
public static WriterConfig PRETTY_PRINT
abstract JsonWriter createWriter(Writer writer)
Copyright © 2011–2016 David R. Smith. All rights reserved.