aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding/json')
-rw-r--r--src/encoding/json/stream.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/encoding/json/stream.go b/src/encoding/json/stream.go
index 5c98d1de04..cb61ea7212 100644
--- a/src/encoding/json/stream.go
+++ b/src/encoding/json/stream.go
@@ -194,6 +194,7 @@ func NewEncoder(w io.Writer) *Encoder {
}
// Encode writes the JSON encoding of v to the stream,
+// with insignificant space characters elided,
// followed by a newline character.
//
// See the documentation for [Marshal] for details about the