Go·2w ago·16 read·midA new Go API for JSON
The Go team has released a stable version of the encoding/json/v2 and encoding/json/jsontext packages in Go 1.27 to address long-standing behavioral flaws in the original library. The new packages introduce stricter standards compliance, including mandatory UTF-8 validation and error handling for duplicate object keys to improve security and reliability. This release follows a six-year development effort involving extensive community feedback and experimental testing.
AI summary