pub fn from_slice<'a, T>(v: &'a [u8]) -> Result<T>where
T: Deserialize<'a>,Expand description
Deserialize an instance of type T from bytes of JSON text.
Equivalent to serde_json::from_slice but with errors extended with serde_path_to_error.
See serde_json::from_slice for more documentation.