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

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