Finding file is not valid JSON
Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/finding-invalid-json/v1
HTTP status: 400
Exit code: 2
Emitted by: mif-rh (MifRhError::FindingJson)
Message
Section titled “Message”finding {path} is not valid JSON: {source}This fires when a finding file (a *.json file under a findings directory)
is read successfully at the OS level but its contents fail to parse as
JSON. The underlying serde_json parse error is carried through as the
{source} in the message, so the exact syntax problem is visible to the
caller rather than being swallowed.
Suggested fix
Section titled “Suggested fix”MaybeIncorrect — correct the file so it is valid JSON, then retry.