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

Issue 7228061: code review 7228061: encoding/json: add test for Unmarshal of malformed data (Closed)

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

Description

encoding/json: add test for Unmarshal of malformed data Roll back CL making primitive type unmarshal faster, because it broke the Unmarshal of malformed data. Add benchmarks for unmarshal of primitive types. Update issue 3949.

Patch Set 1 #

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

Patch Set 3 : diff -r a7e82245c7d5 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -21 lines) Patch
M src/pkg/encoding/json/bench_test.go View 1 1 chunk +33 lines, -1 line 0 comments Download
M src/pkg/encoding/json/decode.go View 1 1 chunk +0 lines, -19 lines 0 comments Download
M src/pkg/encoding/json/decode_test.go View 1 1 chunk +22 lines, -1 line 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 1 month ago (2013-01-29 21:10:36 UTC) #1
bradfitz
LGTM
12 years, 1 month ago (2013-01-29 21:16:07 UTC) #2
rsc
12 years, 1 month ago (2013-01-29 21:34:23 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=715674f61ae8 ***

encoding/json: add test for Unmarshal of malformed data

Roll back CL making primitive type unmarshal faster,
because it broke the Unmarshal of malformed data.

Add benchmarks for unmarshal of primitive types.

Update issue 3949.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7228061
Sign in to reply to this message.

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