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
{{ message }}
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
We want to make sure that json conversions work. While this could be worked around by using another format, it would be good to support this and it's really easy.
The issue was that I had HashMap<SomeStruct, ...> where SomeStruct was hashable, but that can't be used by serde_json. There was supposedly support for using Display and FromStr, but the FromStr doesn't appear to get used by serde. Maybe there is a way to use it in that way, but the better approach is to use
We want to make sure that json conversions work. While this could be worked around by using another format, it would be good to support this and it's really easy.
The issue was that I had
HashMap<SomeStruct, ...>
whereSomeStruct
was hashable, but that can't be used byserde_json
. There was supposedly support for usingDisplay
andFromStr
, but theFromStr
doesn't appear to get used by serde. Maybe there is a way to use it in that way, but the better approach is to useThe text was updated successfully, but these errors were encountered: