Function serde_json_core::from_slice[][src]

pub fn from_slice<'a, T>(v: &'a [u8]) -> Result<(T, usize)> where
    T: Deserialize<'a>, 

Deserializes an instance of type T from bytes of JSON text Returns the value and the number of bytes consumed in the process