Tag json

JSON in Go

In this article, I’ll tell you everything that you need to start using JSON in Go Fluent. We’ll start with some basic usage, we’ll talk about different ways of working in JSON and how to customize it. In the end, you’ll find a FAQ where I put the most common questions about JSON in Go. Table of content Basic usage Marshaling Unmarshalling Struct tags Encoder/decoder The performance? Indenting MarshalJSON and UnmarshalJSON UnmarshalJSON example FAQ What if I don’t know the schema?