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

Issue 5707054: code review 5707054: encoding/json: escape output from Marshalers. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by dsymonds
Modified:
13 years, 1 month ago
Reviewers:
CC:
rsc, r, golang-dev
Visibility:
Public.

Description

encoding/json: escape output from Marshalers. Fixes issue 3127.

Patch Set 1 #

Patch Set 2 : diff -r 0e8f0096e631 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 0e8f0096e631 https://go.googlecode.com/hg/ #

Total comments: 3

Patch Set 4 : diff -r 97eafb92f500 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 543b37dc7796 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -1 line) Patch
M src/pkg/encoding/json/encode.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/encoding/json/encode_test.go View 1 1 chunk +19 lines, -0 lines 0 comments Download
M src/pkg/encoding/json/indent.go View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 8
dsymonds
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 1 month ago (2012-02-29 00:25:01 UTC) #1
dsymonds
Suggestions on making it more efficient are welcome, short of tearing apart the encoding machinery. ...
13 years, 1 month ago (2012-02-29 00:25:48 UTC) #2
r
http://codereview.appspot.com/5707054/diff/2001/src/pkg/encoding/json/encode.go File src/pkg/encoding/json/encode.go (right): http://codereview.appspot.com/5707054/diff/2001/src/pkg/encoding/json/encode.go#newcode269 src/pkg/encoding/json/encode.go:269: var buf bytes.Buffer is it worth a call to ...
13 years, 1 month ago (2012-02-29 00:34:49 UTC) #3
dsymonds
http://codereview.appspot.com/5707054/diff/2001/src/pkg/encoding/json/encode.go File src/pkg/encoding/json/encode.go (right): http://codereview.appspot.com/5707054/diff/2001/src/pkg/encoding/json/encode.go#newcode269 src/pkg/encoding/json/encode.go:269: var buf bytes.Buffer On 2012/02/29 00:34:49, r wrote: > ...
13 years, 1 month ago (2012-02-29 00:53:39 UTC) #4
rsc
http://codereview.appspot.com/5707054/diff/2001/src/pkg/encoding/json/encode.go File src/pkg/encoding/json/encode.go (right): http://codereview.appspot.com/5707054/diff/2001/src/pkg/encoding/json/encode.go#newcode269 src/pkg/encoding/json/encode.go:269: var buf bytes.Buffer On 2012/02/29 00:53:39, dsymonds wrote: > ...
13 years, 1 month ago (2012-02-29 15:50:20 UTC) #5
dsymonds
Hello rsc@golang.org, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-03-01 05:42:34 UTC) #6
rsc
LGTM
13 years, 1 month ago (2012-03-01 06:26:53 UTC) #7
dsymonds
13 years, 1 month ago (2012-03-01 06:42:05 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=fe8fee76a008 ***

encoding/json: escape output from Marshalers.

Fixes issue 3127.

R=rsc, r
CC=golang-dev
http://codereview.appspot.com/5707054
Sign in to reply to this message.

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