-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to deserialize a struct? #423
Comments
Thanks for coming across this issue! This was indeed an issue on our end that |
Hi guys. I am serializing a struct manually (because of something bigger I need to do) and the result of the serialization is this:
Now I need to deserialize it back manually.. but I'm having some problems trying to understand how to do that.. Because for now I have this piece of code:
But when I do
map.next_entry...
I get this error:What does this mean? I can't do
map.next_entry::<String, String>()?
because it panics saying:IdDeserializer may only be used for identifiers
but I don't understand what I should do to read the value of the field.The text was updated successfully, but these errors were encountered: