Function from_slice

Source
pub fn from_slice<T>(v: &[u8]) -> Result<T>
Expand description

Deserialize an instance of type T from bytes of JSON text.