Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(83)

Issue 161060: code review 161060: This patch adds an ability to convert JSON-encoded data into (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by SnakE
Modified:
15 years, 5 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

Decode JSON into native Go data structures This patch adds an ability to convert JSON-encoded data into a hierarchy of Go's native data types.

Patch Set 1 #

Patch Set 2 : code review 161060: This patch adds an ability to convert JSON-encoded data into #

Total comments: 40

Patch Set 3 : code review 161060: This patch adds an ability to convert JSON-encoded data into #

Patch Set 4 : code review 161060: Decode JSON into native Go data structures #

Total comments: 18

Patch Set 5 : code review 161060: Decode JSON into native Go data structures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+271 lines, -427 lines) Patch
M src/pkg/expvar/expvar_test.go View 4 1 chunk +10 lines, -8 lines 0 comments Download
M src/pkg/json/Makefile View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
A src/pkg/json/decode.go View 1 chunk +107 lines, -0 lines 0 comments Download
A src/pkg/json/decode_test.go View 4 1 chunk +133 lines, -0 lines 0 comments Download
A src/pkg/json/error.go View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
R src/pkg/json/generic.go View 1 chunk +0 lines, -338 lines 0 comments Download
R src/pkg/json/generic_test.go View 1 chunk +0 lines, -80 lines 0 comments Download

Messages

Total messages: 12
SnakE
Hello golang-dev@googlegroups.com, I'd like you to review the following change.
15 years, 5 months ago (2009-11-26 16:07:38 UTC) #1
SnakE
There is a cosmetic bug in nativebuilder_test.go, TestKeySetterMustAddMapElements(): the Fatal strings mention elements 1, 2 ...
15 years, 5 months ago (2009-11-26 19:43:33 UTC) #2
agl1
rsc knows the JSON code the best, but here's my drive by. http://codereview.appspot.com/161060/diff/1001/1003 File src/pkg/json/error.go ...
15 years, 5 months ago (2009-11-26 22:15:21 UTC) #3
SnakE
http://codereview.appspot.com/161060/diff/1001/1003 File src/pkg/json/error.go (right): http://codereview.appspot.com/161060/diff/1001/1003#newcode17 src/pkg/json/error.go:17: func (pe *ParseError) String() string { On 2009/11/26 22:15:21, ...
15 years, 5 months ago (2009-11-26 22:53:53 UTC) #4
rsc
Thanks for writing this. I like this interface much better than the current StringToJson. This ...
15 years, 5 months ago (2009-11-30 00:41:18 UTC) #5
SnakE
PTAL. I've updated this change to include other necessary files. http://codereview.appspot.com/161060/diff/1001/1003 File src/pkg/json/error.go (right): http://codereview.appspot.com/161060/diff/1001/1003#newcode17 ...
15 years, 5 months ago (2009-11-30 05:01:19 UTC) #6
rsc
a few more nits http://andi.latest.codereview.appspot.com/161060/diff/27/2005 File src/pkg/expvar/expvar_test.go (right): http://andi.latest.codereview.appspot.com/161060/diff/27/2005#newcode68 src/pkg/expvar/expvar_test.go:68: switch m := j.(type) { ...
15 years, 5 months ago (2009-11-30 19:17:52 UTC) #7
SnakE
PTAL http://andi.latest.codereview.appspot.com/161060/diff/27/2005 File src/pkg/expvar/expvar_test.go (right): http://andi.latest.codereview.appspot.com/161060/diff/27/2005#newcode68 src/pkg/expvar/expvar_test.go:68: switch m := j.(type) { On 2009/11/30 19:17:52, ...
15 years, 5 months ago (2009-11-30 21:46:35 UTC) #8
rsc
> I had sort of this before as well. Occasionally it gave errors looking > ...
15 years, 5 months ago (2009-11-30 21:50:17 UTC) #9
rsc
LGTM thanks
15 years, 5 months ago (2009-11-30 21:53:28 UTC) #10
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=f5010e5fc6dd *** json: Decode into native Go data structures This patch adds ...
15 years, 5 months ago (2009-11-30 21:55:13 UTC) #11
rsc
15 years, 5 months ago (2009-12-02 09:52:48 UTC) #12

          
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b