We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello
I'm getting a non-string key error when trying to deserialize things like HashMap<usize, usize>. How hard would it be to support them?
HashMap<usize, usize>
This panics on the last command:
use std::collections::HashMap; use serde_yaml::Value; fn main() { const CFG: &str = r#" 1: 42 2: 0 "#; let x: HashMap<usize, usize> = serde_yaml::from_str(CFG).unwrap(); let d: Value = serde_yaml::from_str(CFG).unwrap(); let y: HashMap<usize, usize> = serde_ignored::deserialize(d, |p| { println!("Ignoring {}", p); }).unwrap(); }
The text was updated successfully, but these errors were encountered:
Fixed in 0.1.0.
Sorry, something went wrong.
Thank you! :-)
Successfully merging a pull request may close this issue.
Hello
I'm getting a non-string key error when trying to deserialize things like
HashMap<usize, usize>
. How hard would it be to support them?This panics on the last command:
The text was updated successfully, but these errors were encountered: