@@ -46,8 +46,8 @@ encodeToLazyText = LT.decodeUtf8 . encodingToLazyByteString . toEncoding
46-- embedded efficiently in a text-based protocol.
46-- embedded efficiently in a text-based protocol.
48-- If you are going to immediately encode straight to a
48-- If you are going to immediately encode straight to a
49−-- 'L.ByteString', it is more efficient to use 'encodeToBuilder'
49+-- 'L.ByteString', it is more efficient to use 'encode' (lazy ByteString)
50−-- instead.
50+-- or @'fromEncoding' . 'toEncoding'@ (ByteString.Builder) instead.
52-- /Note:/ Uses 'toJSON'
52-- /Note:/ Uses 'toJSON'
53encodeToTextBuilder :: ToJSON a => a -> Builder
53encodeToTextBuilder :: ToJSON a => a -> Builder