Function from_json_slice

Source
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.