Skip to main content

decode_value

Function decode_value 

Source
pub fn decode_value(raw: &Value, type_name: &str) -> Result<Value>
Expand description

Decode a JSON value into a typed Value object using the default depth limit.

Returns an error if the JSON nesting depth exceeds DEFAULT_MAX_JSON_DEPTH.