aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json
diff options
context:
space:
mode:
authorJon Johnson <jonjohnson@google.com>2020-02-03 18:15:41 +0000
committerDaniel Martí <mvdan@mvdan.cc>2020-02-22 17:39:09 +0000
commite9956791bfabcb0db0035a1e1479f9ca1b2e32c2 (patch)
treed2d4b419508a4b9178819acf983bfd37f96b6a84 /src/encoding/json
parent35b80575b8dbeb031455ccd99a08850c1d9f33b1 (diff)
downloadgo-e9956791bfabcb0db0035a1e1479f9ca1b2e32c2.tar.gz
go-e9956791bfabcb0db0035a1e1479f9ca1b2e32c2.zip
encoding/json: fix broken link to json.org
This updates the link to a newer image. Change-Id: Ibdfe8c57d9217a325bcfde98cb6f952ca63d588a GitHub-Last-Rev: f5970ba395781c0d299dfdaa1ed75e46125b8268 GitHub-Pull-Request: golang/go#36938 Reviewed-on: https://go-review.googlesource.com/c/go/+/217297 Reviewed-by: Toshihiro Shiino <shiino.toshihiro@gmail.com> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Diffstat (limited to 'src/encoding/json')
-rw-r--r--src/encoding/json/encode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/json/encode.go b/src/encoding/json/encode.go
index 39cdaebde7..9c043593ce 100644
--- a/src/encoding/json/encode.go
+++ b/src/encoding/json/encode.go
@@ -649,7 +649,7 @@ func stringEncoder(e *encodeState, v reflect.Value, opts encOpts) {
func isValidNumber(s string) bool {
// This function implements the JSON numbers grammar.
// See https://tools.ietf.org/html/rfc7159#section-6
- // and https://json.org/number.gif
+ // and https://www.json.org/img/number.png
if s == "" {
return false