summaryrefslogtreecommitdiff
path: root/src/pkg/json/decode.go
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-17/+24
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-63/+66
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-13/+59
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-1/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-12/+38
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-81/+4
update other code to match. R=r CC=golang-dev http://codereview.appspot.com/1680044
2010-05-11json: fix array -> non-array decodingRuss Cox1-0/+3
Fixes issue 773. R=adg CC=golang-dev http://codereview.appspot.com/1120042
2010-04-27json: preserve field name case by defaultRuss Cox1-4/+16
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-63/+855
R=r CC=golang-dev http://codereview.appspot.com/953041
2009-12-22json: fix doc commentRuss Cox1-1/+1
R=gri CC=golang-dev http://codereview.appspot.com/179128
2009-12-151) Change default gofmt default settings forRobert Griesemer1-29/+29
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180048
2009-12-02apply gofmt to json filesRobert Griesemer1-3/+1
R=rsc http://codereview.appspot.com/164071
2009-11-30json: Decode into native Go data structuresSergey 'SnakE' Gromov1-0/+107
This patch adds an ability to convert JSON-encoded data into a hierarchy of Go's native data types. R=rsc CC=golang-dev http://codereview.appspot.com/161060 Committer: Russ Cox <rsc@golang.org>