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

Issue 13324045: code review 13324045: encoding/json: add "overflow" struct tag option

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by adg
Modified:
10 years, 1 month ago
Visibility:
Public.

Description

encoding/json: add "overflow" struct tag option Fixes issue 6213.

Patch Set 1 #

Total comments: 6

Patch Set 2 : diff -r c98067b47ab0 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -50 lines) Patch
M src/pkg/encoding/json/decode.go View 1 6 chunks +60 lines, -44 lines 0 comments Download
M src/pkg/encoding/json/decode_test.go View 1 chunk +20 lines, -0 lines 0 comments Download
M src/pkg/encoding/json/encode.go View 8 chunks +59 lines, -6 lines 0 comments Download
M src/pkg/encoding/json/encode_test.go View 1 chunk +56 lines, -0 lines 0 comments Download
M src/pkg/encoding/json/example_test.go View 2 chunks +46 lines, -0 lines 0 comments Download

Messages

Total messages: 16
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
10 years, 7 months ago (2013-08-29 04:46:55 UTC) #1
r
https://codereview.appspot.com/13324045/diff/1/src/pkg/encoding/json/encode.go File src/pkg/encoding/json/encode.go (right): https://codereview.appspot.com/13324045/diff/1/src/pkg/encoding/json/encode.go#newcode255 src/pkg/encoding/json/encode.go:255: panic("endOverflow called before startOverflow") what if e.Len() is zero ...
10 years, 7 months ago (2013-08-29 05:16:51 UTC) #2
r
https://codereview.appspot.com/13324045/diff/1/src/pkg/encoding/json/decode.go File src/pkg/encoding/json/decode.go (right): https://codereview.appspot.com/13324045/diff/1/src/pkg/encoding/json/decode.go#newcode64 src/pkg/encoding/json/decode.go:64: // When unmarshalling into struct values, a struct field ...
10 years, 7 months ago (2013-08-29 05:17:16 UTC) #3
adg
https://codereview.appspot.com/13324045/diff/1/src/pkg/encoding/json/decode.go File src/pkg/encoding/json/decode.go (right): https://codereview.appspot.com/13324045/diff/1/src/pkg/encoding/json/decode.go#newcode64 src/pkg/encoding/json/decode.go:64: // When unmarshalling into struct values, a struct field ...
10 years, 7 months ago (2013-08-29 07:24:37 UTC) #4
Hierro
On 2013/08/29 04:46:55, adg wrote: > Hello mailto:golang-dev@googlegroups.com, > > I'd like you to review ...
10 years, 7 months ago (2013-08-29 23:58:28 UTC) #5
adg
Thanks for running the benchmarks. I agree that this patch is a non-starter with this ...
10 years, 7 months ago (2013-08-30 00:02:10 UTC) #6
Hierro
On 2013/08/30 00:02:10, adg wrote: > Thanks for running the benchmarks. I agree that this ...
10 years, 7 months ago (2013-08-30 00:31:14 UTC) #7
adg
On 30 August 2013 10:31, <alberto.garcia.hierro@gmail.com> wrote: > On the other hand, wouldn't it be ...
10 years, 7 months ago (2013-08-30 00:33:22 UTC) #8
adg
On 30 August 2013 10:31, <alberto.garcia.hierro@gmail.com> wrote: > I checked your code and that's very ...
10 years, 7 months ago (2013-08-30 00:34:21 UTC) #9
Hierro
On 2013/08/30 00:34:21, adg wrote: > I'd be interested to see those changes. Want to ...
10 years, 7 months ago (2013-08-30 12:13:22 UTC) #10
rsc
NOT LGTM Too late, and unclear that it's worthwhile anyway. If you need custom stuff, ...
10 years, 7 months ago (2013-09-03 21:13:56 UTC) #11
adg
On 4 September 2013 07:13, <rsc@golang.org> wrote: > NOT LGTM > > Too late, and ...
10 years, 7 months ago (2013-09-04 00:20:55 UTC) #12
rsc
On Tue, Sep 3, 2013 at 8:20 PM, Andrew Gerrand <adg@golang.org> wrote: > > On ...
10 years, 7 months ago (2013-09-05 16:02:10 UTC) #13
gobot
R=rsc@golang.org (assigned by rsc@google.com)
10 years, 4 months ago (2013-12-18 20:21:05 UTC) #14
gobot
Replacing golang-dev with golang-codereviews.
10 years, 4 months ago (2013-12-20 16:26:00 UTC) #15
rsc
10 years, 1 month ago (2014-03-05 19:48:16 UTC) #16
R=close

seems to have timed out
Sign in to reply to this message.

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