pub fn to_json(text: &str, indent: usize) -> Result<String, DeclError>
The JSON text of a document given as JSON text: canonical for indent 0, laid out with indent spaces per level otherwise (docs/tooling/05_render.md §4.1).
indent