auditable_info

Function json_from_reader

Source
pub fn json_from_reader<T: BufRead>(
    reader: &mut T,
    limits: Limits,
) -> Result<String, Error>
Expand description

Extracts the audit data and returns the JSON string. This is useful if you want to forward the data somewhere instead of parsing it to Rust data structures.

If you want to obtain the Zlib-compressed data instead, use the auditable-extract crate directly.