]> Cypherpunks repositories - gostls13.git/commit
encoding/json: Fixed the comment specifying Marshal behavior for maps.
authorAaron Jacobs <jacobsa@google.com>
Wed, 18 Feb 2015 22:35:28 +0000 (09:35 +1100)
committerAndrew Gerrand <adg@golang.org>
Wed, 18 Feb 2015 23:57:36 +0000 (23:57 +0000)
commit9df81f822128b4057f6713bff1421b8ee3fec555
treed7d70bda8c1d45d58ea41797bdd6145604e052f9
parent84c7a6583aac493fec25e87c60be7b98508c5b43
encoding/json: Fixed the comment specifying Marshal behavior for maps.

The comment previously was reversed in sense (it appeared to be
describing unmarshaling). I've fixed that, and added the caveat that map
keys are subject to UTF-8 coercion like other strings.

Change-Id: Id08082aa71401a6e7530a42f979fbb50bd1f4e6a
Reviewed-on: https://go-review.googlesource.com/5221
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/encoding/json/encode.go