Function serde_hjson::ser::to_vec [] [src]

pub fn to_vec<T>(value: &T) -> Result<Vec<u8>> where T: Serialize

Encode the specified struct into a Hjson [u8] buffer.