from_bytes

Function from_bytes 

Source
pub fn from_bytes<'s, T>(b: &'s [u8]) -> Result<T, MerdeError<'s>>
where T: Deserialize<'s>,
Expand description

Deserialize an instance of type T from a byte slice of JSON text.