public class PrettyJsonWriter extends CompactJsonWriter
CompactJsonWriter.StringBuilderWriter| Constructor and Description |
|---|
PrettyJsonWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
indent(Writer writer) |
protected void |
write(Document bson,
Writer writer) |
protected void |
write(Iterable<?> arrayValue,
Writer writer) |
protected void |
writeArray(Object array,
Writer writer) |
public PrettyJsonWriter()
protected void write(Document bson, Writer writer) throws IOException
write in class CompactJsonWriterIOExceptionprotected void write(Iterable<?> arrayValue, Writer writer) throws IOException
write in class CompactJsonWriterIOExceptionprotected void writeArray(Object array, Writer writer) throws IOException
writeArray in class CompactJsonWriterIOExceptionprotected void indent(Writer writer) throws IOException
IOExceptionCopyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.