]> Cypherpunks repositories - gostls13.git/commit
encoding/json: drop MarshalForHTML; gofix calls to Marshal.
authorDavid Symonds <dsymonds@golang.org>
Tue, 28 Feb 2012 00:41:16 +0000 (11:41 +1100)
committerDavid Symonds <dsymonds@golang.org>
Tue, 28 Feb 2012 00:41:16 +0000 (11:41 +1100)
commit9dd746c4cb09b65128d0dd432b58c324151910bf
tree0beed9b1eab7b467fd4aa6610d843a3fee74d1d8
parent740d5038667d385f99eb42d54381b330390f0417
encoding/json: drop MarshalForHTML; gofix calls to Marshal.

I've elected to omit escaping the output of Marshalers for now.
I haven't thought through the implications of that;
I suspect that double escaping might be the undoing of that idea.

Fixes #3127.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5694098
src/cmd/fix/go1rename.go
src/cmd/fix/go1rename_test.go
src/pkg/encoding/json/decode_test.go
src/pkg/encoding/json/encode.go