diff options
| author | Damien Neil <dneil@google.com> | 2025-06-10 13:55:09 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-06-11 14:17:53 -0700 |
| commit | d166a0b03e88e3ffe17a5bee4e5405b5091573c6 (patch) | |
| tree | 30fdf76b9fb26676c3c1cffd1693eab114399651 /src/encoding/json/jsontext | |
| parent | d4c6effaa7b95a2ea149ece4a400c0ace2773839 (diff) | |
| download | go-d166a0b03e88e3ffe17a5bee4e5405b5091573c6.tar.xz | |
encoding/json/jsontext, encoding/json/v2: document experimental nature
Change-Id: I7b2c391749e0113e006f37b2ac1ebfe3ee0a4e0e
Reviewed-on: https://go-review.googlesource.com/c/go/+/680715
TryBot-Bypass: Damien Neil <dneil@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Auto-Submit: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/encoding/json/jsontext')
| -rw-r--r-- | src/encoding/json/jsontext/doc.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/encoding/json/jsontext/doc.go b/src/encoding/json/jsontext/doc.go index 755305151f..8a21ba70bd 100644 --- a/src/encoding/json/jsontext/doc.go +++ b/src/encoding/json/jsontext/doc.go @@ -10,6 +10,11 @@ // primitive data types such as booleans, strings, and numbers, // in addition to structured data types such as objects and arrays. // +// This package (encoding/json/jsontxt) is experimental, +// and not subject to the Go 1 compatibility promise. +// It only exists when building with the GOEXPERIMENT=jsonv2 environment variable set. +// Most users should use [encoding/json]. +// // The [Encoder] and [Decoder] types are used to encode or decode // a stream of JSON tokens or values. // |
