go/src/encoding
William Poussier cc39d8087b encoding/json: encode nil encoding.TextMarshaler instance as "null"
Fixes #34235.

Change-Id: Ia3795fd18860530fa6a4b171545f525e784ffdcb
GitHub-Last-Rev: 1a319c4528
GitHub-Pull-Request: golang/go#34238
Reviewed-on: https://go-review.googlesource.com/c/go/+/194642
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-09-11 18:37:43 +00:00
..
ascii85 encoding/ascii85: make bigtest big again 2017-06-23 14:28:30 +00:00
asn1 encoding/asn1: handle ASN1's string type BMPString 2019-09-09 23:04:30 +00:00
base32 encoding/base32: increase performance and code reuse 2019-09-11 00:56:39 +00:00
base64 encoding/base64: speed up the decoder 2019-03-13 10:39:58 +00:00
binary all: simplify code using "gofmt -s -w" 2019-05-06 22:19:22 +00:00
csv src: gofmt -s 2019-09-09 18:57:05 +00:00
gob src: gofmt -s 2019-09-09 18:57:05 +00:00
hex encoding/hex: simplify encoder arithmetic 2019-03-05 17:40:09 +00:00
json encoding/json: encode nil encoding.TextMarshaler instance as "null" 2019-09-11 18:37:43 +00:00
pem all: remove PEM-encoded private keys from tests 2019-05-21 20:03:55 +00:00
xml std: remove unused bits of code all over the place 2019-09-02 12:57:37 +00:00
encoding.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00