Skip to main content

agentox_core/report/
json.rs

1//! JSON report renderer.
2
3use crate::report::types::AuditReport;
4
5/// Render an audit report as pretty-printed JSON.
6pub fn render(report: &AuditReport) -> Result<String, serde_json::Error> {
7    serde_json::to_string_pretty(report)
8}