Developers

Go's new JSON packages become stable in Go 1.27

The Go team says encoding/json/v2 and encoding/json/jsontext are stable and generally available in Go 1.27. The new API rejects invalid UTF-8 and duplicate names, encodes nil slices and maps as empty arrays and objects, and matches struct fields case sensitively. Unmarshalling is up to 10 times faster, with more speedups planned for Go 1.28.