aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/jsontext/encode_test.go
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2025-07-24 12:16:35 -0700
committerGopher Robot <gobot@golang.org>2025-07-24 20:30:28 -0700
commit3636ced112d89da03739fa7d5468c0270addaa28 (patch)
treebf040cf5f2709dc070e920b031f018bdecfa9e0f /src/encoding/json/jsontext/encode_test.go
parenta6eec8bdc79a89f6001d7788d280b8910c5f1b13 (diff)
downloadgo-3636ced112d89da03739fa7d5468c0270addaa28.tar.xz
encoding/json: fix extra data regression under goexperiment.jsonv2
When operating under v1 semantics in the v2 implementation, a extra data error should take precedence over any semantic error that could theoretically occur within the value itself. This change only affects code compiled under goexperiment.jsonv2. Fixes #74614 Change-Id: I055a606b053fa66b0c766ae205487b8290109285 Reviewed-on: https://go-review.googlesource.com/c/go/+/689919 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Auto-Submit: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/encoding/json/jsontext/encode_test.go')
0 files changed, 0 insertions, 0 deletions