From Go to Rust: JSON and YAML

One of Go’s big selling points for me was its novel approach to JSON encoding. Learning about Rust’s encoding has made me even more excited. In this post, we’ll start with Go’s JSON encoder, and then see how Rust does encoding. And we’ll even go through some YAML!
In the first in this series, we looked at a simple Go program, and then converted it to Rust.