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
If I modifiy the serialize_newtype_struct() to allow serialize unit variant as a string the above code work. I don't know if it will break anything else so please consider.
The text was updated successfully, but these errors were encountered:
Currently I can deserialize HashMap with key as an enum as example bellow:
But I cannot serialize a HashMap to a string:
If I modifiy the serialize_newtype_struct() to allow serialize unit variant as a string the above code work. I don't know if it will break anything else so please consider.
The text was updated successfully, but these errors were encountered: