We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 550b03d + aa765c9 commit 8891873Copy full SHA for 8891873
Data/Aeson/Types/ToJSON.hs
@@ -264,7 +264,7 @@ genericLiftToEncoding opts te tel = gToJSON opts (To1Args te tel) . from1
264
-- @
265
--
266
-- Previous versions of this library only had the 'toJSON' method. Adding
267
--- 'toEncoding' had to reasons:
+-- 'toEncoding' had two reasons:
268
269
-- 1. toEncoding is more efficient for the common case that the output of
270
-- 'toJSON' is directly serialized to a @ByteString@.
0 commit comments