Skip to main content

block

Function block 

Source
pub fn block(t: &Value) -> Result<String, SerError>
Expand description

Multi-line indented pretty printing. Two-space indent, sortkeys, comment on.

Output is an expression. Prepend return to evaluate it.

ยงErrors

Propagates SerError from [serialize].