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
Yes. Use #[serde(deserialize_with = "your_fn")] where your_fn deserialises to String, then uses the FromStr impl and changes the result to the correct type
E.g. this:
Can this be done without dealing with serde's visitor pattern?
The text was updated successfully, but these errors were encountered: