Go Blog· Michael Pratt, Joe Tsai, Daniel Martí, Johan Brandhorst-Satzkorn, Roger Peppe, Chris Hines, and Damien Neil·· 20 小时前精选AI 评分82
Go 1.27 正式发布 encoding/json/v2 与 jsontext 包
A new Go API for JSON
AI 导读
Go 团队宣布 encoding/json/v2 与 encoding/json/jsontext 包在 Go 1.27 稳定并正式可用。
推荐理由
Go 官方宣布 encoding/json/v2 与 jsontext 包在 Go 1.27 正式可用,明确列出 v1 的行为缺陷与 API 限制、v2 语义变化和迁移路径,对需要处理 JSON 的 Go 开发者有直接决策价值。
来源:Go Blog · go.dev