-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add pop method to json Decoder #17377
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
Comments
It would be even nicer to get automatic handling for type alternatives through a derived There is also some related discussion at http://stackoverflow.com/questions/25604339/parse-json-value-as-enum-in-rust. |
As this library is out of tree, I'm moving this issue to that repo: rust-lang-deprecated/rustc-serialize#44 Thanks! |
internal: better print style for hir before:  after: 
Now it's impossible to implement Decodable for a map with different value types
because read_* methods lose the stack head anyway.
Decodable doesn't have a method returning the stack head as-is without any type casting.
Let's look a case where Json dictionary has values with int and String types.
The text was updated successfully, but these errors were encountered: