go/src/pkg/encoding/json
Rob Pike abe384f68a all: be more idiomatic when documenting boolean return values.
Phrases like "returns whether or not the image is opaque" could be
describing what the function does (it always returns, regardless of
the opacity) or what it returns (a boolean indicating the opacity).
Even when the "or not" is missing, the phrasing is bizarre.

Go with "reports whether", which is still clunky but at least makes
it clear we're talking about the return value.

These were edited by hand. A few were cleaned up in other ways.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/11699043
2013-07-23 11:59:49 +10:00
..
testdata encoding/json: add marshal/unmarshal benchmark 2011-11-15 10:58:19 -05:00
bench_test.go encoding/json: add test for Unmarshal of malformed data 2013-01-29 13:34:18 -08:00
decode.go undo CL 11161044 / ba455262a9db 2013-07-12 17:42:01 -04:00
decode_test.go encoding/json: add more tests for UTF-8 coercion 2013-07-12 20:40:50 -04:00
encode.go undo CL 11161044 / ba455262a9db 2013-07-12 17:42:01 -04:00
encode_test.go encoding/json: different decision on tags and shadowing 2013-04-10 13:05:34 -07:00
example_test.go pkg: a slew of examples 2012-02-18 11:48:33 +11:00
indent.go encoding/json: escape U+2028 and U+2029. 2013-07-12 14:35:55 +10:00
scanner.go encoding/json: Correct description of stateNeg function. 2013-07-05 14:26:09 +10:00
scanner_test.go encoding/json: escape U+2028 and U+2029. 2013-07-12 14:35:55 +10:00
stream.go encoding/json: allocate less in NewEncoder 2013-05-14 15:50:46 -07:00
stream_test.go encoding/json: allocate less in NewEncoder 2013-05-14 15:50:46 -07:00
tagkey_test.go encoding/json: A JSON tag can be any valid JSON string. 2012-12-22 13:36:55 -05:00
tags.go all: be more idiomatic when documenting boolean return values. 2013-07-23 11:59:49 +10:00
tags_test.go