summaryrefslogtreecommitdiff
path: root/src/pkg/json/encode.go
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Imported Upstream version 2011.04.27Ondřej Surý1-4/+4
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-23/+23
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-5/+41
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-3/+2
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-13/+86
2010-06-21reflect: add Type.Bits method, add tags to prohibit conversionsRuss Cox1-1/+1
gob: substitute slice for map R=r CC=golang-dev http://codereview.appspot.com/1699045
2010-06-20reflect: add Kind, remove Int8Type, Int8Value, etc.Russ Cox1-23/+1
update other code to match. R=r CC=golang-dev http://codereview.appspot.com/1680044
2010-04-27json: preserve field name case by defaultRuss Cox1-3/+2
This matches the old JSON package behavior. All lowercase names are not as standard as I believed, and it seems less surprising to need to write type T struct { Field string "field" } to get lower case (behavior after this CL) than it does to need to write type T struct { Field string "Field" } to preserve the case (behavior before this CL). Also test and fix unmarshal into non-nil interface value or pointer. Fixes issue 744. R=r CC=golang-dev http://codereview.appspot.com/1013041
2010-04-21json: Marshal, Unmarshal using new scannerRuss Cox1-0/+282
R=r CC=golang-dev http://codereview.appspot.com/953041