Skip to content
Select theme

Working with JSON, TOML and CSV

serde is in almost every Rust project that talks to anything, and the interesting part is never the happy path. It is the API that renamed a field, the optional key that is missing, the enum that arrives in four different shapes.

Each article here is one of those problems, with the derive attributes that fix it.