Function from_slice_wip

Source
pub fn from_slice_wip<'input: 'facet, 'facet>(
    wip: Wip<'facet>,
    input: &'input [u8],
) -> Result<HeapValue<'facet>, JsonError<'input>>
Expand description

Deserialize a JSON string into a Wip object.

§Arguments

  • wip - A mutable Wip object to deserialize into.
  • input - A byte slice representing the JSON input.

§Returns

A result containing the updated Wip or a JsonParseErrorWithContext.