value_to_pydict

Function value_to_pydict 

Source
pub fn value_to_pydict(py: Python<'_>, value: &Value) -> PyResult<Py<PyAny>>
Expand description

Converts a serde_json::Value to a Python object.

§Arguments

  • py - Python GIL token.
  • value - JSON value to convert.

§Returns

A Python object representing the JSON value.