summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.