pub fn analysis_to_json(a: &FileAnalysis) -> JsonExpand description
An imported analysis, field for field.
Absent measurements are written as null rather than left out: the reader
then distinguishes “not measured” from “measured as zero”, which for a peak
or a dynamic range is the whole difference.
Serializes an attributed analysis without dropping unknown source data.
Dated rows retain the legacy numeric result_at_ns and an additive decimal
result_at_ns_exact for precision beyond the JSON model’s f64 range.