pub fn serialize_health_report_json(
input: HealthJsonReportInput<'_>,
) -> Result<Value, Error>Expand description
Serialize a health / complexity report into the stable JSON output contract.
The health runner is still migrating out of the CLI crate, so callers pass the already assembled report plus CLI-owned suggestion and workspace diagnostics policy as explicit typed inputs.
ยงErrors
Returns a serde error when the report cannot be converted to JSON.