mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
encoding/json: Tweak documentation for Encoder.Encode.
The documentation for the Encoder type calls it a stream, not a connection. R=golang-dev, adg CC=golang-dev https://golang.org/cl/14015044
This commit is contained in:
parent
0ab8f2d287
commit
48da6754e2
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ func NewEncoder(w io.Writer) *Encoder {
|
||||||
return &Encoder{w: w}
|
return &Encoder{w: w}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Encode writes the JSON encoding of v to the connection.
|
// Encode writes the JSON encoding of v to the stream.
|
||||||
//
|
//
|
||||||
// See the documentation for Marshal for details about the
|
// See the documentation for Marshal for details about the
|
||||||
// conversion of Go values to JSON.
|
// conversion of Go values to JSON.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue