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 a PyErr if:
- the input
valis not a JSON object. - conversion of any nested JSON value into a Python object fails.