JSON - The Fine Print: Part 2 - Emitting JSON

14 · · Feb. 4, 2025, 3:43 p.m.
Summary
This blog post discusses the intricacies of emitting JSON, particularly focusing on the differences between using `json.Marshal` and `json.Encoder` from the encoding/json package in Go. It challenges the assumption that JSON emission is a simple task and delves into the nuances involved in the process.