After an immense amount of discussion, there’s a full proposal and implementation for a v2 JSON Go library: https://github.com/golang/go/issues/71497

I’m delighted that it stays within the bounds of I-JSON (RFC 7493) and defaults to strict RFC 3339 (i.e. ISO8601) compliance for time/date. I’m sad that there are so very many options and worried that some might combine in unpleasantly surprising ways. Kudos to the people who put the work in.

Also, faster in most cases.

#Golang

proposal: encoding/json/v2: new API for encoding/json · Issue #71497 · golang/go

Proposal Details This is a formal proposal for the addition of "encoding/json/v2" and "encoding/json/jsontext" packages that has previously been discussed in #63397. This focuses on just the newly ...

GitHub