Skip to content
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

Implement Deserializer for Map<String, Value> and &Map<String, Value> #1135

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

swlynch99
Copy link

This PR adds Deserializer impls for Map<String, Value> and &Map<String, Value> and IntoDeserializer impls for the same. The first commit moves the relevant code from the value Deserializer impl into the new map impls. The last two are some small cleanups to use the map deserializer impl directly.

I put the Deserializer trait impls in src/value/de.rs so that they can reuse the existing helpers there. If you would prefer that they go elsewhere I am happy to move them.

Closes #1134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Implement Deserializer for Map<String, Value> and &Map<String, Value>
1 participant