1
0
mirror of https://github.com/golang/go synced 2024-10-05 18:31:28 -06:00
go/src/encoding
Erik Dubbelboer c4be790c0e encoding/json: check if Number is valid
json.Number is a special case which didn't have any checks and could result in invalid JSON.

Fixes #10281

Change-Id: Ie3e726e4d6bf6a6aba535d36f6107013ceac913a
Reviewed-on: https://go-review.googlesource.com/12250
Reviewed-by: Russ Cox <rsc@golang.org>
2015-11-25 16:18:36 +00:00
..
ascii85
asn1 encoding/asn1: enforce use of short form lengths. 2015-11-18 00:53:49 +00:00
base32
base64
binary encoding/binary: document that Read returns io.EOF iff zero bytes are read 2015-09-30 22:10:44 +00:00
csv encoding/csv: indicate package of EOF in docs 2015-10-14 00:46:21 +00:00
gob encoding/gob: document that zero elements of arrays and slices are sent 2015-11-24 19:06:11 +00:00
hex
json encoding/json: check if Number is valid 2015-11-25 16:18:36 +00:00
pem
xml encoding/xml: check for exported fields in embedded structs 2015-10-26 11:26:11 +00:00
encoding.go