Skip to content
Advertisement

Tag: serde-json

Exporting HashMap of HashMap to Python

I have a text parser written in Rust and want to provide a Python interface to it using pyo3. The parser returns a HashMap within a HashMap and the values of the inner HashMap are of type serde_json::Value. When I try to return this as a PyObject I get an error that I am unable to solve. This is a

Advertisement