Hacker News new | ask | show | jobs
by ujal 2844 days ago
Whats the canonical way to deduce the types in Rust from JSON? JSON Schemas?
1 comments

This particular crate, serde_json, lets you create any type that implements Serde's Deserialize trait when you're parsing.
... and it also provides a dynamic interface too, if you need to work that way. You probably don’t...