pub fn to_json(&self) -> String {
        let sum = self
            .summaries
            .iter()
            .map(|(n, v)| format!("\"{}\":{}", n, v.to_json()))
            .collect::<Vec<String>>()
            .join(",");
        format!("{{{}}}", sum)
    }
/// Encodes this into a compact json summary
Encodes this into a compact json summary
Encodes this into a compact json summary
pub fn to_json(&self) -> String {
        let sum = self
            .summaries
            .iter()
            .map(|(n, v)| format!("\"{}\":{}", n, v.to_json()))
            .collect::<Vec<String>>()
            .join(",");
        format!("{{{}}}", sum)
    }
pub fn to_json ( & self ) -> String { let sum = self . summaries . iter ( ) . map ( | ( n , v ) | format ! ( " \" \" " n v to_json ( ) ) ) . collect :: < Vec < String > > ( ) . join ( " " ) ; format ! ( " " sum ) }
Encodes this into a compact json summary
Encodes this into a compact json summary
&self
&self