pub fn from_json_slice<'a, T>(json: &'a [u8]) -> Result<T>where
T: Deserialize<'a>,
Expand description
Converts from the JSON bytes to a value of T
type.
pub fn from_json_slice<'a, T>(json: &'a [u8]) -> Result<T>where
T: Deserialize<'a>,
Converts from the JSON bytes to a value of T
type.