ruwuma/ruma-serde
Jonas Platte 22ab60128a
serde: Fix int_or_string_to_int deserialization helper
It's unclear why the previous method didn't work, but this one definitely does.
2020-12-12 17:45:16 +01:00
..
2020-07-22 23:05:50 +02:00

ruma-serde

This crate contains (de)serialization helpers for other ruma crates.

Part of that is a fork of serde_urlencoded, with support for sequences in Deserialize / Serialize structs (e.g. Vec<Something>) that are (de)serialized as field=val1&field=val2 (instead of the more common field[]=val1&field[]=val2 format supported by other crates like serde_qs).