TomlSerializerConfigurator

Functions

Link copied to clipboard
fun indentStep(spaces: Int)

Indent each nesting level of a multi-line lists by this many spaces.

Link copied to clipboard
fun inlineListMode(listMode: ListMode)

How should inline lists be serialized?

Link copied to clipboard

Should tables be generated using table syntax or inline table syntax (i.e. square brackets)? If CollectionSyntax.Table, lists will still be serialized using inline syntax when required to produce correct TOML.

Link copied to clipboard

Should tables be generated using table syntax or inline table syntax (i.e. curly brackets)?