aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/decode_test.go
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2025-06-17 12:34:22 -0700
committerGopher Robot <gobot@golang.org>2025-06-23 18:27:10 -0700
commited7815726db4a0eb904d7cae2532cde48348d7ff (patch)
treef850ab35c4fa8f1d52a1f505ceb71b3d21dbe811 /src/encoding/json/decode_test.go
parentf866958246556ec609b81d31376a39efe9d51a51 (diff)
downloadgo-ed7815726db4a0eb904d7cae2532cde48348d7ff.tar.xz
encoding/json/v2: report error on time.Duration without explicit format
The default representation of a time.Duration is still undecided. In order to keep the future open, report an error on a time.Duration without an explicit format flag provided. Updates #71631 Change-Id: I08248404ff6551723851417c8188a13f53c61937 Reviewed-on: https://go-review.googlesource.com/c/go/+/682455 Auto-Submit: Joseph Tsai <joetsai@digital-static.net> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/encoding/json/decode_test.go')
0 files changed, 0 insertions, 0 deletions