Function json_deserializer::parse

source ·
pub fn parse(json: &[u8]) -> Result<Value<'_>, Error>
Expand description

Parses JSON-compliant bytes into Value

Errors

If and only if json is not valid JSON.

Panics

If and only if there is not enough memory to allocate.