From e9956791bfabcb0db0035a1e1479f9ca1b2e32c2 Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Mon, 3 Feb 2020 18:15:41 +0000 Subject: [PATCH] encoding/json: fix broken link to json.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Daniel Martí --- src/encoding/json/encode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0