© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
R. Hussain, M. ZulfiqarBeginning Go Programminghttps://doi.org/10.1007/978-1-4842-8858-0_6

6. Working with JSON

Rumeel Hussain1   and Maryam Zulfiqar2
(1)
Dubai, United Arab Emirates
(2)
Lahore, Pakistan
 

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.

JSON Package

JavaScript Object Notation (JSON) is one of the most popular data serialization and interchange formats. The ...

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.