elefren::helpers::json
pub fn to_vec(data: &Data) -> Result<Vec<u8>>
Attempts to serialize a Data struct to a Vec of bytes