Skip to main content

sarif_to_markdown

Function sarif_to_markdown 

Source
pub fn sarif_to_markdown(sarif_json: &str) -> Result<String, ReportError>
Expand description

Convert a SARIF JSON document to GitHub-Flavored Markdown, validating that the result is non-empty and carries some structure.

ยงErrors

Returns ReportError::Markdown if conversion fails or the output is empty or structureless.