//! JSON output format for programmatic consumption.

use crate::types::ScanResult;

use super::ReportFormatter;

/// JSON report formatter.
pub struct JsonReport;

impl ReportFormatter for JsonReport {
    fn format(&self, result: &ScanResult) -> String {
        result.display()
    }
}
