]> Cypherpunks repositories - gostls13.git/commit
encoding/json: update docs to not use misuse the term "object"
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 13 Apr 2016 18:14:52 +0000 (18:14 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 16 Apr 2016 22:11:57 +0000 (22:11 +0000)
commit462aa7ec7b854f5a1bb4f633cb439eb67bced625
treefe9e680b036560c094bfa728f510bc1cef06156a
parent2cdcb6f8296b6528bb7d256a45e339c4aefb9109
encoding/json: update docs to not use misuse the term "object"

In JSON terminology, "object" is a collect of key/value pairs. But a
JSON object is only one type of JSON value (others are string, number,
array, true, false, null).

This updates the Go docs (at least the public godoc) to not use
"object" when we mean any JSON value.

Change-Id: Ieb1c456c703693714d63d9d09d306f4d9e8f4597
Reviewed-on: https://go-review.googlesource.com/22003
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/encoding/json/decode.go
src/encoding/json/encode.go
src/encoding/json/stream.go