mirror of
https://github.com/golang/go
synced 2024-11-17 20:34:44 -07:00
encoding/json: fix broken link to json.org
This updates the link to a newer image.
Change-Id: Ibdfe8c57d9217a325bcfde98cb6f952ca63d588a
GitHub-Last-Rev: f5970ba395
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>
This commit is contained in:
parent
35b80575b8
commit
e9956791bf
@ -649,7 +649,7 @@ func stringEncoder(e *encodeState, v reflect.Value, opts encOpts) {
|
|||||||
func isValidNumber(s string) bool {
|
func isValidNumber(s string) bool {
|
||||||
// This function implements the JSON numbers grammar.
|
// This function implements the JSON numbers grammar.
|
||||||
// See https://tools.ietf.org/html/rfc7159#section-6
|
// 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 == "" {
|
if s == "" {
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user