Function from_slice

Source
pub fn from_slice<'input, 'facet, 'shape, T: Facet<'facet>>(
    input: &'input [u8],
) -> Result<T, DeserError<'input, 'shape>>
where 'input: 'facet,
Expand description

Deserialize JSON from a given byte slice