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
I ran into this problem today.
I have a source code and I try to add serde support to deal with external data.
// no #derive[serde::Deserialize]enumFoo{A,B}
But the data I got is
{"A":{}}
Is there a way to represent things like #[serde(external_tagged)]?
I can certainly change A to A{}, but it's a breaking change, and many other places need fixes.
The text was updated successfully, but these errors were encountered:
I ran into this problem today.
I have a source code and I try to add serde support to deal with external data.
But the data I got is
Is there a way to represent things like
#[serde(external_tagged)]
?I can certainly change
A
toA{}
, but it's a breaking change, and many other places need fixes.The text was updated successfully, but these errors were encountered: