[−][src]Function simd_json::value::deserialize
pub fn deserialize<'de, Value, Key>(s: &'de mut [u8]) -> Result<Value> where
Value: ValueBuilder + From<&'de str> + From<Vec<Value>> + From<HashMap<Key, Value>> + 'de,
Key: Hash + Eq + From<&'de str>,
Parses a slice of butes into a Value dom. This function will rewrite the slice to de-escape strings. As we reference parts of the input slice the resulting dom has the dame lifetime as the slice it was created from.
Errors
Will return Err
if s
is invalid JSON.