Function pyobject_to_json

Source
pub fn pyobject_to_json(obj: &Bound<'_, PyAny>) -> PyResult<Value>