You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if we could define catch-all variant that would retain underlying data on deserialization. While this library does support #[serde(other)] already for a catch-all variant, this discards the data. It would be great if we could instead use #[serde(untagged)] - obviously just over a newtype-style variant with a single value that matches repr type:
It would be great if we could define catch-all variant that would retain underlying data on deserialization. While this library does support
#[serde(other)]
already for a catch-all variant, this discards the data. It would be great if we could instead use#[serde(untagged)]
- obviously just over a newtype-style variant with a single value that matches repr type:The text was updated successfully, but these errors were encountered: