Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use std::collections::HashMap;
- fn main() {
- let value: HashMap<String, f64> = serde_json::from_str(r#"{ "foo": "Infinity" }"#).unwrap();
- eprintln!("{:?}", value);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement