Skip to main content

to_json

Function to_json 

Source
pub fn to_json(findings: &[Finding]) -> String
Expand description

Findings as JSON, for anything that would rather not parse a line.

Hand-rolled to keep the commit path dependency-free, and versioned like amont-list-v1 for the same reason: a consumer that does not recognise the format string should say so rather than guess at the shape.