toPrettyJsonString

Serializes DokkaConfiguration as a human-readable (pretty printed) JSON string.

The returned string will have excessive line breaks and indents, which might not be desirable when passing this value between API consumers/producers. If you want a machine-readable and compact json string, see toCompactJsonString.


Serializes a ConfigurableBlock as a human-readable (pretty printed) JSON string.

The returned string will have excessive line breaks and indents, which might not be desirable when passing this value between API consumers/producers. If you want a machine-readable and compact json string, see toCompactJsonString.