Skip to content

Commit

Permalink
Merge pull request haskell#1062 from MangoIV/mangoiv/fix-docs-decode
Browse files Browse the repository at this point in the history
[fix] fix the documentation for `decode`
  • Loading branch information
phadej authored Sep 1, 2023
2 parents db36c30 + ebb8fb1 commit 9058d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/Aeson/Decoding.hs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ throwDecodeStrict bs = unResult (toResultValue (bsToTokens bs)) (throwM . AesonE
-- Decoding: lazy bytestring
-------------------------------------------------------------------------------

-- | Efficiently deserialize a JSON value from a strict 'B.ByteString'.
-- | Efficiently deserialize a JSON value from a lazy 'L.ByteString'.
-- If this fails due to incomplete or invalid input, 'Nothing' is
-- returned.
decode :: (A.FromJSON a) => L.ByteString -> Maybe a
Expand Down

0 comments on commit 9058d2a

Please sign in to comment.