Skip to main content

render_json

Function render_json 

Source
pub fn render_json(report: &DiffReport) -> String
Expand description

Renders a report as machine-readable JSON with the stable schema {"verdict", "changes": [{"path", "category", "verdict", "before", "after"}]}.