go/src/encoding/json
Marvin Stenger fcf8143d63 encoding/json: scanner: use byte, more consistent
The fields step and redoState of struct scanner are now defined as
`func(s *scanner, c byte) int` instead of
`func(s *scanner, c int) int`, since bytes are sufficient.
Further changes improve the consistency in the scanner.go file.

Change-Id: Ifb85f2130d728d2b936d79914d87a1f0b5c6ee7d
Reviewed-on: https://go-review.googlesource.com/14801
Reviewed-by: Andrew Gerrand <adg@golang.org>
Run-TryBot: Andrew Gerrand <adg@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2015-09-21 01:55:52 +00:00
..
testdata
bench_test.go encoding/json: add JSON streaming parse API 2015-07-27 16:07:39 +00:00
decode.go encoding/json: scanner: use byte, more consistent 2015-09-21 01:55:52 +00:00
decode_test.go encoding/json: scanner: use byte, more consistent 2015-09-21 01:55:52 +00:00
encode.go encoding/json: Only allow string option for valid types 2015-07-15 01:35:56 +00:00
encode_test.go encoding/json: encode \t as \t instead of \u0009 2014-10-27 18:58:25 -04:00
example_test.go encoding/json: add JSON streaming parse API 2015-07-27 16:07:39 +00:00
fold.go all: link to https for golang subdomains too 2015-07-12 04:42:40 +00:00
fold_test.go
indent.go encoding/json: scanner: use byte, more consistent 2015-09-21 01:55:52 +00:00
scanner.go encoding/json: scanner: use byte, more consistent 2015-09-21 01:55:52 +00:00
scanner_test.go encoding/json: make BenchmarkSkipValue more stable 2015-05-14 02:32:28 +00:00
stream.go encoding/json: scanner: use byte, more consistent 2015-09-21 01:55:52 +00:00
stream_test.go encoding/json: test style tweaks 2015-07-28 06:23:38 +00:00
tagkey_test.go all: link to https instead of http 2015-07-11 14:36:33 +00:00
tags.go
tags_test.go