Synapse Open Synapse
Tech

Go 1.27: encoding/json/v2, Stricter Defaults, and Finally [] for Nil Slices · cekrem.github.io

Reddit · r/programming · · 8 min read

encoding/json/v2 is stable in Go 1.27. Nil slices become [], duplicate keys and invalid UTF-8 are errors, case-insensitive matching is gone, and time.Duration has no default encoding. What changed, with code I ran on go1.27.3.

Latest from Reddit · r/programming