Skip to main content

from_slice_jsonc

Function from_slice_jsonc 

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

Deserialize a JSONC byte slice (JSON with // and /* */ comments) into an owned type.

Identical to from_slice except that comments are allowed anywhere whitespace is allowed.