1
0
mirror of https://github.com/golang/go synced 2024-10-04 16:21:22 -06:00
go/src/pkg/encoding
Russ Cox ad37081b67 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 #3949.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7228061
2013-01-29 13:34:18 -08:00
..
ascii85 encoding/ascii85: fix panic caused by special case 2012-04-04 09:52:42 -04:00
asn1 src: Use bytes.Equal instead of bytes.Compare where possible. 2013-01-07 10:03:49 +11:00
base32 encoding/base64: new example for NewEncoder with emphasis on Close 2012-12-11 11:49:02 -05:00
base64 encoding/base64: new example for NewEncoder with emphasis on Close 2012-12-11 11:49:02 -05:00
binary all: fix the the typos 2012-11-22 02:58:24 +08:00
csv all: fix typos 2012-12-19 03:04:09 +08:00
gob encoding/gob: fix broken test (fix build) 2013-01-14 17:03:19 +11:00
hex src: Use bytes.Equal instead of bytes.Compare where possible. 2013-01-07 10:03:49 +11:00
json encoding/json: add test for Unmarshal of malformed data 2013-01-29 13:34:18 -08:00
pem encoding/pem: write Proc-Type header first. 2012-11-12 15:29:17 +00:00
xml xml: differentiate between float32 and float64 for marshalSimple 2013-01-28 12:54:27 -05:00