diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2025-06-30 22:17:41 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-07-14 07:58:11 -0700 |
| commit | c6556b8eb3444b6d5473762ed1082039db7e03b5 (patch) | |
| tree | 243f19e74f46a96c16df83d66d5c7e6632ed4fbc /src/encoding/json/jsontext/doc.go | |
| parent | 6ebb5f56d9ed35588970ce69cbad63508403bb8d (diff) | |
| download | go-c6556b8eb3444b6d5473762ed1082039db7e03b5.tar.xz | |
encoding/json/v2: add security section to doc
This follows up CL 684315 with an expanded section in the v2 doc.
Updates #14750
Updates #71845
Change-Id: I1ffa97e030f5f2b709e8142028e3c8e0e38b80ce
Reviewed-on: https://go-review.googlesource.com/c/go/+/685195
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/encoding/json/jsontext/doc.go')
| -rw-r--r-- | src/encoding/json/jsontext/doc.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/encoding/json/jsontext/doc.go b/src/encoding/json/jsontext/doc.go index 8e4bced015..d890692686 100644 --- a/src/encoding/json/jsontext/doc.go +++ b/src/encoding/json/jsontext/doc.go @@ -103,6 +103,10 @@ // RFC 7493 is a stricter subset of RFC 8259 and fully compliant with it. // In particular, it makes specific choices about behavior that RFC 8259 // leaves as undefined in order to ensure greater interoperability. +// +// # Security Considerations +// +// See the "Security Considerations" section in [encoding/json/v2]. package jsontext // requireKeyedLiterals can be embedded in a struct to require keyed literals. |
