pretty

fun pretty(tree: Any?): String

tree, a JSON tree of maps, lists and scalars, as indented JSON text.