Function cpython_json::to_json
[−]
[src]
pub fn to_json(py: Python, obj: &PyObject) -> Result<Value, JsonError>
Convert from a cpython::PyObject
to a serde_json::Value
.