diff options
author | Jon Johnson <jonjohnson@google.com> | 2020-02-03 18:15:41 +0000 |
---|---|---|
committer | Daniel Martà <mvdan@mvdan.cc> | 2020-02-22 17:39:09 +0000 |
commit | e9956791bfabcb0db0035a1e1479f9ca1b2e32c2 (patch) | |
tree | d2d4b419508a4b9178819acf983bfd37f96b6a84 /src/encoding/json | |
parent | 35b80575b8dbeb031455ccd99a08850c1d9f33b1 (diff) | |
download | go-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.go | 2 |
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 |