]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/json: fix broken link to json.org
authorJon Johnson <jonjohnson@google.com>
Mon, 3 Feb 2020 18:15:41 +0000 (18:15 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Sat, 22 Feb 2020 17:39:09 +0000 (17:39 +0000)
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>
src/encoding/json/encode.go

index 39cdaebde7b9c94e37ffec3f3c59a16ac8138382..9c043593ce39772de5eeb722aeedd8ec2023fddd 100644 (file)
@@ -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