diff options
| author | rajender <rajenderreddykompally@gmail.com> | 2017-11-27 23:19:12 +0530 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-11-27 18:04:57 +0000 |
| commit | 0d264746063df2887875432170cbf11607c85501 (patch) | |
| tree | 2b2d19b446700eeb0c30800cbf0a56aa7d9bf6ec /src/encoding/json/encode.go | |
| parent | 5419ed3a66ca6128fa7b19f193a5a3a4e5cecd4a (diff) | |
| download | go-0d264746063df2887875432170cbf11607c85501.tar.xz | |
encoding/json: update RFC number
Existing docs mention obsolete RFC 4627. Update it with current one,
https://tools.ietf.org/html/rfc7159.
Current implementation already adhere to RFC 7159.
Fixes #22888
Change-Id: I705ec1313f6f655b3bc41d2f847b30e479bf9b15
Reviewed-on: https://go-review.googlesource.com/79995
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding/json/encode.go')
| -rw-r--r-- | src/encoding/json/encode.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoding/json/encode.go b/src/encoding/json/encode.go index 66d1a183b0..a5596879ac 100644 --- a/src/encoding/json/encode.go +++ b/src/encoding/json/encode.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package json implements encoding and decoding of JSON as defined in -// RFC 4627. The mapping between JSON and Go values is described +// Package json implements encoding and decoding of JSON text as defined in +// RFC 7159. The mapping between JSON and Go values is described // in the documentation for the Marshal and Unmarshal functions. // // See "JSON and Go" for an introduction to this package: |
