gitea/modules/json
silverwind 681c4074e5
Add missing `//nolint:depguard` (#37162)
When running `golangci-lint` without `GOEXPERIMENT=jsonv2`, a lint error
`import 'encoding/json' is not allowed` is seen.

All other files in the module that import `encodings/json` have
`//nolint` already, so add it.

---
This PR was written with the help of Claude Opus 4.6

Co-authored-by: Claude (Opus 4.6) <noreply@anthropic.com>
2026-04-10 10:39:28 +00:00
..
json.go Drop json-iterator dependency (#35544) 2025-09-28 22:30:28 +08:00
json_test.go use experimental go json v2 library (#35392) 2025-09-28 08:03:36 +00:00
jsongoccy.go Drop json-iterator dependency (#35544) 2025-09-28 22:30:28 +08:00
jsonlegacy.go Add missing `//nolint:depguard` (#37162) 2026-04-10 10:39:28 +00:00
jsonv1.go Drop json-iterator dependency (#35544) 2025-09-28 22:30:28 +08:00
jsonv2.go Add terraform state registry (#36710) 2026-04-06 13:41:17 -07:00