Module pyo3::serde

source ·
Available on crate feature serde only.
Expand description

Enables (de)serialization of Py<T> objects via serde.

Setup

To use this feature, add this to your Cargo.toml:

[dependencies]
serde = "1.0"
pyo3 = { version = "0.19.2", features = ["serde"] }