api / tv.twelvetone.json / WriterConfig

WriterConfig

abstract class WriterConfig

Controls the formatting of the JSON output. Use one of the available constants.

Constructors

<init>

WriterConfig()

Controls the formatting of the JSON output. Use one of the available constants.

Companion Object Properties

MINIMAL

var MINIMAL: WriterConfig

Write JSON in its minimal form, without any additional whitespace. This is the default.

PRETTY_PRINT

var PRETTY_PRINT: WriterConfig

Write JSON in pretty-print, with each value on a separate line and an indentation of two spaces.