]> Cypherpunks repositories - gostls13.git/commitdiff
encoding/json: update RFC number
authorrajender <rajenderreddykompally@gmail.com>
Mon, 27 Nov 2017 17:49:12 +0000 (23:19 +0530)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 27 Nov 2017 18:04:57 +0000 (18:04 +0000)
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>
src/encoding/json/encode.go

index 66d1a183b0ee334498cd41a79c5faf110e3a9c20..a5596879ac64e37a5f4bcd65f5b98ec2287d8d31 100644 (file)
@@ -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: