JSON is one of the most popular data formats used to transmit data over web applications. Like many modern languages, Go also supports the conversion of data to and from JSON. In this chapter, we walk you through recipes for working with data encoded as JSON, especially how to encode and decode JSON-formatted data for use in Go applications.
6. Working with JSON
Get Beginning Go Programming: Build Reliable and Efficient Applications with Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.