Function sonic_rs::serde::from_slice
source · 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.
pub fn from_slice<'a, T>(v: &'a [u8]) -> Result<T>where
T: Deserialize<'a>,Deserialize an instance of type T from bytes of JSON text.