Here is a current implementation of the future encoding/json/v2 in Go
go-json-experiment / json
Experimental implementation of a proposed v2 encoding/json package
JSON Serialization (v2)
This module hosts an experimental implementation of v2encoding/json
The API is unstable and breaking changes will regularly be madeDo not depend on this in publicly available modules.
Any commits that make breaking API or behavior changes will be markedwith the string "WARNING: " near the top of the commit message.It is your responsibility to inspect the list of commit changeswhen upgrading the module. Not all breaking changes will lead to build failures.
ADiscussion about including this package in Go asencoding/json/v2
has been started on the Go Github project on 2023-10-05. Please provide your feedback there.
Goals and objectives
Mostly backwards compatible: If possible, v2 should aim to bemostlycompatible with v1 in terms of both API and default behavior to ease migrationFor example, the
Marshal
andUnmarshal
functions are the most widely useddeclarations in the v1…
This project is not only a proof of concept, but also an idea of the future implementation that will help sorting out many issues with current encoding/json
You get some information in this GitHub issue
Top comments(0)
For further actions, you may consider blocking this person and/orreporting abuse