pub fn format_node(
    options: JsonFormatOptions,
    root: &JsonSyntaxNode
) -> FormatResult<Formatted<JsonFormatContext>>
Expand description

Formats a JSON syntax tree.

It returns the Formatted document that can be printed to a string.