core_serde_json
pub fn to_vec<B, T: ?Sized>(value: &T) -> Result<Vec<u8, B>> where B: ArrayLength<u8>, T: Serialize,
Serializes the given data structure as a JSON byte vector