pub fn from_slice<T: Facet>( json: &[u8], ) -> Result<T, JsonParseErrorWithContext<'_>>
Deserialize JSON from a slice
json
A result containing the deserialized value of type T or a JsonParseErrorWithContext.
T
JsonParseErrorWithContext