summaryrefslogtreecommitdiff
path: root/src/pkg/json/struct_test.go
AgeCommit message (Collapse)AuthorFilesLines
2010-04-21json: Marshal, Unmarshal using new scannerRuss Cox1-375/+0
R=r CC=golang-dev http://codereview.appspot.com/953041
2010-03-17json: add MarshalIndent (accepts user-specified indent string)Andrew Gerrand1-1/+92
Fixes issue 661 R=r, rsc, skorobo CC=golang-dev http://codereview.appspot.com/576042
2010-02-22json: fix quoted strings in MarshalSergei Skorobogatov1-0/+23
R=rsc CC=golang-dev http://codereview.appspot.com/217047 Committer: Russ Cox <rsc@golang.org>
2010-01-06Propagate error to the caller in json.Marshal. Fixes issue 445.Ivan Krasin1-2/+14
R=rsc, imkrasin CC=golang-dev http://codereview.appspot.com/179125 Committer: Russ Cox <rsc@golang.org>
2009-12-151) Change default gofmt default settings forRobert Griesemer1-73/+73
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-09remove uses of string concatenation from src and misc directoryRobert Griesemer1-7/+7
R=rsc http://codereview.appspot.com/172041
2009-12-09json package: Fixed handling of nil valuesRoss Light1-0/+4
Fixes issue 400. R=golang-dev, rsc http://codereview.appspot.com/167058 Committer: Russ Cox <rsc@golang.org>
2009-11-30Handle \r as a whitespace when parsing JSON string.Andrew Skiba1-0/+11
Fixes issue 272. R=rsc http://codereview.appspot.com/161061 Committer: Russ Cox <rsc@golang.org>
2009-11-24A quick fix to ensure that json.Marshal returns errors correctly, as well as ↵Michael Hoisie1-3/+32
some error-related tests R=rsc http://codereview.appspot.com/157151 Committer: Russ Cox <rsc@golang.org>
2009-11-19Add json.Marshal to json packageMichael Hoisie1-0/+46
R=rsc CC=golang-dev http://codereview.appspot.com/157068 Committer: Russ Cox <rsc@golang.org>
2009-11-13json: allow one to unmarshal a top-level JSON array.Adam Langley1-0/+25
Fixies issue 114. R=rsc CC=golang-dev http://codereview.appspot.com/154121
2009-11-13json: fix addressing of slice indexes that are multiples of 8.Adam Langley1-0/+31
Fixes issue 147. R=rsc CC=golang-dev http://codereview.appspot.com/152123
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-4/+4
R=rsc, r http://go/go-review/1025029
2009-11-05gofmt-ify io, json, runtime, encodingRobert Griesemer1-23/+23
R=rsc http://go/go-review/1017056
2009-11-01allow unpacking of json map into Go map,Russ Cox1-29/+52
now that reflection supports it. R=r http://go/go-review/1015008
2009-10-06apply gofmt to go, gob, hash, http, image, io, json, logRuss Cox1-44/+43
R=gri DELTA=1359 (138 added, 32 deleted, 1189 changed) OCL=35408 CL=35420
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-1/+0
to whole-package compilation. R=r OCL=33070 CL=33101
2009-07-07json: use new reflect interface (CL 31107)Russ Cox1-43/+43
R=r DELTA=192 (52 added, 43 deleted, 97 changed) OCL=31116 CL=31286
2009-06-22changes required if we disallow the implicit *Russ Cox1-1/+1
in cap, len, [], and range on maps, strings, and slices. R=r DELTA=57 (2 added, 12 deleted, 43 changed) OCL=30549 CL=30590
2009-06-09mv src/lib to src/pkgRob Pike1-0/+82
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102