summaryrefslogtreecommitdiff
path: root/reencode.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-02-14 21:40:18 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-02-16 21:20:25 -0700
commit1e2d058c78969118b099940afdb100a3b93325cc (patch)
treef5a199e6c9db36576b039afc9f22b1bcbb5b49bb /reencode.go
parent851452243879498117cd7e71ac12856af44657cb (diff)
reencode: Update the doc comment about all the interfaces implemented
Diffstat (limited to 'reencode.go')
-rw-r--r--reencode.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/reencode.go b/reencode.go
index 32796f6..f23c85a 100644
--- a/reencode.go
+++ b/reencode.go
@@ -79,8 +79,8 @@ func NewReEncoder(out io.Writer, cfg ReEncoderConfig) *ReEncoder {
}
// A ReEncoder takes a stream of JSON elements (by way of implementing
-// io.Writer and WriteRune), and re-encodes the JSON, writing it to
-// the .Out member.
+// io.Writer, io.StringWriter, io.ByteWriter, and WriteRune), and
+// re-encodes the JSON, writing it to the .Out member.
//
// This is useful for prettifying, minifying, sanitizing, and/or
// validating JSON.