Skip to main content

read_json

Function read_json 

Source
pub fn read_json(path: &Path) -> Result<JsonReport>
Expand description

Reads back a report previously written by write_json — used by sidecheck compare to load both sides of a baseline/current comparison. Deliberately lenient about sidecheck_version: an older report from a previous release should still load, since comparing across versions (the whole point of a CI baseline) is the normal case, not an error condition.