Go Walkthrough: encoding/json package
Ben Johnson

We here on the east coast (my zip code is 02446) object to serializing a zip code as an integer (in the “per-field options” example).

It would perhaps be instructive to see how you could represent zip code internally as an int but still serialize it as a 5-character zero-padded string. (But really, with ZIP+4 you should probably just use a string in your internal representation as well.)

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.