Function render
Source pub fn render(report: &CheckReport) -> Result<String, Error>
Expand description
Renders report as a pretty-printed SARIF 2.1.0 JSON string.
§Errors
Returns an error only if Sarif’s Serialize impl fails, which does not happen for the
plain-data document to_sarif builds.