aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/decode.go
diff options
context:
space:
mode:
authorkhr@golang.org <khr@golang.org>2025-12-23 09:41:47 -0600
committerKeith Randall <khr@golang.org>2026-01-22 14:29:44 -0800
commit26ffe78b8c34cea92a06690742b5d41b3397105f (patch)
tree0bf44ea89b2d7c783c7105f49ad8fc57c0d632fe /src/encoding/json/decode.go
parente0c4ad77cf0f11687f72a361dff76713e5541b7f (diff)
downloadgo-26ffe78b8c34cea92a06690742b5d41b3397105f.tar.xz
encoding/json: remove unneeded unsafe import
Followon for CL 721160. Change-Id: I9c22c5e99c9084e24047c77d20717c5b46165cde Reviewed-on: https://go-review.googlesource.com/c/go/+/732220 Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Sean Liao <sean@liao.dev> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/encoding/json/decode.go')
-rw-r--r--src/encoding/json/decode.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/encoding/json/decode.go b/src/encoding/json/decode.go
index 5ff1014dc5..59d4c7e734 100644
--- a/src/encoding/json/decode.go
+++ b/src/encoding/json/decode.go
@@ -19,7 +19,6 @@ import (
"unicode"
"unicode/utf16"
"unicode/utf8"
- _ "unsafe" // for linkname
)
// Unmarshal parses the JSON-encoded data and stores the result