setIndent

Sets the indentation string to be repeated for each level of indentation in the encoded document. If {@code indent.isEmpty()} the encoded document will be compact. Otherwise the encoded document will be more human-readable.

Parameters

indent

a string containing only whitespace.

open fun setIndent(indent: String)