serde-tuple-vec-map icon indicating copy to clipboard operation
serde-tuple-vec-map copied to clipboard

Deserialize objects/maps into Vecs of key/value tuples.

Results 2 serde-tuple-vec-map issues
Sort by recently updated
recently updated
newest added
trafficstars

I ended up writing this abomination: ```Rust #[derive(Deserialize)] struct Helper { #[serde(with = "tuple_vec_map")] inner: Vec } fn map_frequency(v: serde_json::Value) -> Result { let val = json!({ "inner": v });...

enhancement

It would be nice to have a way to make it work with Option as well, either via `serde_with`'s `serde_as` framework, or via a dedicated function

enhancement