1
0
mirror of https://github.com/golang/go synced 2024-10-05 12:21:22 -06:00
go/src/pkg/json
Evan Martin 2f69a73591 json: encode \r and \n in strings as e.g. "\n", not "\u000A"
This is allowed by the JSON spec and is shorter/easier to read.

R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/4678046
2011-07-11 07:31:08 -07:00
..
decode_test.go reflect: support for struct tag use by multiple packages 2011-06-29 09:52:34 -04:00
decode.go reflect: support for struct tag use by multiple packages 2011-06-29 09:52:34 -04:00
encode.go json: encode \r and \n in strings as e.g. "\n", not "\u000A" 2011-07-11 07:31:08 -07:00
indent.go json: scanner, Compact, Indent, and tests 2010-04-18 14:45:08 -07:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
scanner_test.go json: fix test if rand returns 0. 2011-07-06 13:00:54 -07:00
scanner.go json: keep track of error offset in SyntaxError 2011-04-15 08:14:34 -07:00
stream_test.go delete float, complex - code changes 2011-01-19 23:09:00 -05:00
stream.go json: keep track of error offset in SyntaxError 2011-04-15 08:14:34 -07:00