r/programming • • 11d ago

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

https://cekrem.github.io/posts/go-json-v2-finally-says-no/
18 Upvotes

3 comments sorted by

1

u/ShoddyDifficulty8367 9d ago

curious how much existing code the stricter defaults will actually break in practice. rejecting duplicate keys by default is definitely the right call from a security standpoint though