Go standard library In Go creating of the JSON quite simple, just pass any data in json.Marshal, and you get the bytes with JSON. But parsing of JSON is painful, especially when you want only one field that located deep in the source JSON. You have to create all maps and structs for all places where located fields that you need. See full example on Go by Example. Make it better gjson – allows you to get any data from JSON without difficult conversions and type-casting.