JSONWriter
fun JSONWriter(writer: Writer = StringWriter(), prettyPrint: Boolean = false)
Content copied to clipboard
Construct a new JSONWriter.
Parameters
writer
The target for the raw JSON document.
pretty Print
true indicates the JSON should be pretty-printed; false indicates the JSON should be minified.