pub fn value_to_pydict(py: Python<'_>, val: &Value) -> PyResult<Py<PyAny>>Expand description
Converts a JSON Value::Object into a Python dict.
ยงErrors
Returns an error if:
- The input
valis not a JSON object. - Conversion of any nested JSON value into a Python object fails.