summaryrefslogtreecommitdiff
path: root/src/pkg/json/decode_test.go
AgeCommit message (Collapse)AuthorFilesLines
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-561/+0
2011-09-19Imported Upstream version 60.1upstream/60.1Ondřej Surý1-1/+10
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+552
2011-09-13Imported Upstream version 60Ondřej Surý1-541/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-4/+5
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-7/+6
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-3/+4
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-6/+29
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-10/+2
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-22/+85
2010-05-11json: fix array -> non-array decodingRuss Cox1-19/+27
Fixes issue 773. R=adg CC=golang-dev http://codereview.appspot.com/1120042
2010-05-08json: accept escaped slash in string scannerMichael Hoisie1-0/+1
R=rsc CC=golang-dev http://codereview.appspot.com/1173041 Committer: Russ Cox <rsc@golang.org>
2010-04-27json: preserve field name case by defaultRuss Cox1-120/+146
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-97/+391
R=r CC=golang-dev http://codereview.appspot.com/953041
2009-12-151) Change default gofmt default settings forRobert Griesemer1-51/+51
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-2/+2
R=rsc http://codereview.appspot.com/164071
2009-11-30json: Decode into native Go data structuresSergey 'SnakE' Gromov1-0/+133
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>