Skip to main content

pretty_json

Function pretty_json 

Source
pub fn pretty_json(v: &Value) -> String
Expand description

Render a serde_json::Value as multi-line pretty JSON with asymmetric matchers rendered as <Description> placeholders so the diff highlights the matcher rather than its tagged wire shape.