Skip to main content

from_slice_borrowed_jsonc

Function from_slice_borrowed_jsonc 

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

Deserialize a JSONC byte slice, allowing zero-copy borrowing.

Identical to from_slice_borrowed except that comments are allowed.