pyo3::conversions

Module 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]
pyo3 = { version = "0.23.2", features = ["serde"] }
serde = "1.0"
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here