Create two new derives: DeserializeFromStr
and SerializeDisplay
#86
Labels
enhancement
New feature or request
DeserializeFromStr
and SerializeDisplay
#86
They would derive
Deserialize
andSerialize
but using theDisplay
/FromStr
traits for implementation.This would be a nicer way to configure the de/serialization where the struct is defined, without needing a wrapper type and without specifying this per field.
This proposal was also made here serde-rs/serde#553 (comment) and here serde-rs/serde#908
The text was updated successfully, but these errors were encountered: