pub fn to_vec_pretty<T>(value: &T) -> Result<Vec<u8>>Expand description
Serialize the given data structure as a pretty-printed JSON byte vector.
Equivalent to serde_json::to_vec_pretty but with errors extended with serde_path_to_error.
See serde_json::to_vec_pretty for more documentation.