monitord::json

Function flatten

Source
pub fn flatten(
    stats_struct: &MonitordStats,
    key_prefix: &String,
) -> Result<String, Error>
Expand description

Take the standard returned structs and move all to a flat JSON str