go/src/encoding/json
Russ Cox f229e7031a all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor)
When these packages are released as part of Go 1.18,
Go 1.16 will no longer be supported, so we can remove
the +build tags in these files.

Ran go fix -fix=buildtag std cmd and then reverted the bootstrapDirs
as defined in src/cmd/dist/buildtool.go, which need to continue
to build with Go 1.4 for now.

Also reverted src/vendor and src/cmd/vendor, which will need
to be updated in their own repos first.

Manual changes in runtime/pprof/mprof_test.go to adjust line numbers.

For #41184.

Change-Id: Ic0f93f7091295b6abc76ed5cd6e6746e1280861e
Reviewed-on: https://go-review.googlesource.com/c/go/+/344955
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-10-28 18:17:57 +00:00
..
testdata
bench_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
decode.go all: use reflect.{Pointer,PointerTo} 2021-10-26 14:24:17 +00:00
decode_test.go all: use reflect.{Pointer,PointerTo} 2021-10-26 14:24:17 +00:00
encode.go all: use reflect.{Pointer,PointerTo} 2021-10-26 14:24:17 +00:00
encode_test.go encoding/json: marshal maps using reflect.Value.MapRange 2021-03-05 02:28:11 +00:00
example_marshaling_test.go
example_test.go encoding/json: fix package shadowing in MarshalIndent example 2021-03-14 19:58:14 +00:00
example_text_marshaling_test.go encoding/xml, encoding/json: docs and examples using custom marshalers 2018-12-12 14:18:06 +00:00
fold.go
fold_test.go
fuzz.go all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
indent.go encoding/json: improve performance of Compact 2019-10-27 16:02:29 +00:00
number_test.go
scanner.go encoding/json: revert "add "json: " prefix to SyntaxError messages" 2020-12-01 22:51:45 +00:00
scanner_test.go Revert "encoding/json: implement Is on SyntaxError" 2020-09-14 21:33:53 +00:00
stream.go encoding/json: add Decoder.InputOffset for offset access 2019-10-11 16:34:01 +00:00
stream_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
tables.go
tagkey_test.go encoding/json: allow semicolon in field key / struct tag 2020-09-24 18:05:54 +00:00
tags.go all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
tags_test.go