De-mystifying JSON
How to look at a JSON shape and translate it to Rust structs and enums.
Hello! My name is Jeff. I'm a self-taught, hobbyist programmer. Welcome to my space!
How to look at a JSON shape and translate it to Rust structs and enums.
How Rust programs are organized with crates, packages, and modules, including file structure, visibility, paths, and the use keyword.
How Rust handles recoverable errors with the Result type, including pattern matching, the ? operator, and common methods like map_err and unwrap_or.
How Rust uses the Option type instead of null values, with pattern matching, if let, and common methods like unwrap, map, and unwrap_or.