Function deserialize

Source
pub fn deserialize<'input, 'facet, 'shape, T, F>(
    input: &'input F::Input<'input>,
    format: F,
) -> Result<T, DeserError<'input, 'shape, Cooked>>
where T: Facet<'facet>, F: Format + 'shape, F::Input<'input>: InputDebug, F::SpanType: Debug, Span<F::SpanType>: ToCooked<'input, F>, 'input: 'facet, 'shape: 'input,
Expand description

Deserialize a value of type T from raw input bytes using format F.

This function sets up the initial working state and drives the deserialization process, ensuring that the resulting value is fully materialized and valid.