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/options.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/options.go')
| -rw-r--r-- | src/encoding/json/jsontext/options.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/encoding/json/jsontext/options.go b/src/encoding/json/jsontext/options.go index e07de21fcf..7eb4f9b9e0 100644 --- a/src/encoding/json/jsontext/options.go +++ b/src/encoding/json/jsontext/options.go @@ -271,6 +271,7 @@ func WithIndentPrefix(prefix string) Options { /* // TODO(https://go.dev/issue/56733): Implement WithByteLimit and WithDepthLimit. +// Remember to also update the "Security Considerations" section. // WithByteLimit sets a limit on the number of bytes of input or output bytes // that may be consumed or produced for each top-level JSON value. |
