elefren::helpers::json
pub fn to_writer<W: Write>(data: &Data, writer: W) -> Result<()>
Attempts to serialize a Data struct to something that implements the std::io::Write trait