]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] encoding/json: allow punctuation in tag names
authorBobby Powers <bobbypowers@gmail.com>
Wed, 25 Apr 2012 04:33:33 +0000 (14:33 +1000)
committerRob Pike <r@golang.org>
Wed, 25 Apr 2012 04:33:33 +0000 (14:33 +1000)
commit342f4bf2882a1a2f0c0624a179d06075fbc03bbf
treec449d3d7fcd8f68981e0e3631b4be0707a978a23
parentb4ea696b49427919bbae6d24bedecb2750567da0
[release-branch.go1] encoding/json: allow punctuation in tag names

««« backport 233ff5d46b3d
encoding/json: allow punctuation in tag names

everything except backslash and the quote chars is fair game.

Fixes #3546.

R=rsc, r
CC=golang-dev
https://golang.org/cl/6048047

»»»
src/pkg/encoding/json/encode.go
src/pkg/encoding/json/tagkey_test.go