]> Cypherpunks repositories - gostls13.git/commit
encoding/json: don't match field name if a JSON struct tag is present.
authorDavid Symonds <dsymonds@golang.org>
Tue, 1 May 2012 01:37:44 +0000 (11:37 +1000)
committerDavid Symonds <dsymonds@golang.org>
Tue, 1 May 2012 01:37:44 +0000 (11:37 +1000)
commitc3c8e35af25d99f5cfab70157e26a13b93a77e7f
treeacfbdc372adacd261d352869a1438b11e534ba7f
parentdae2992c98bff181b023f27889c513d89714f5ac
encoding/json: don't match field name if a JSON struct tag is present.

Fixes #3566.

R=rsc
CC=golang-dev
https://golang.org/cl/6139048
src/pkg/encoding/json/decode.go
src/pkg/encoding/json/decode_test.go