Skip to main content

coerce_json_config

Function coerce_json_config 

Source
pub fn coerce_json_config<S: BuildHasher>(
    raw: HashMap<String, Py<PyAny>, S>,
) -> PyResult<HashMap<String, Value>>
Expand description

Converts Python mapping values into JSON values.

ยงErrors

Returns an error if a Python value cannot be converted.