nu_json::ser
pub fn to_vec<T>(value: &T) -> Result<Vec<u8>> where T: Serialize,
Encode the specified struct into a Hjson [u8] buffer.
[u8]