]> Cypherpunks repositories - gostls13.git/commit
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)
commit52f122d72ee3fab46603ccd76259d1f9db50be7b
tree75e2f865cf6d5885b4bab2f61f5026604966a91d
parentb252fe70026a0e7b4bbf3ec6f4f74cf02e3c73b7
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