summaryrefslogtreecommitdiffstats
path: root/Data/Aeson/Extends.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Data/Aeson/Extends.hs')
-rw-r--r--Data/Aeson/Extends.hs15
1 files changed, 0 insertions, 15 deletions
diff --git a/Data/Aeson/Extends.hs b/Data/Aeson/Extends.hs
deleted file mode 100644
index d78f81d..0000000
--- a/Data/Aeson/Extends.hs
+++ /dev/null
@@ -1,15 +0,0 @@
-module Data.Aeson.Extends (module Data.Aeson.Extends) where
-
-import Data.Aeson as Data.Aeson.Extends
-
-import qualified Data.ByteString.Lazy as LBS
-import qualified Data.Text.Encoding.Error as TE
-import qualified Data.Text.Lazy.Encoding as LT
-
-
-eitherDecodeLenient' :: FromJSON a => LBS.ByteString -> Either String a
-eitherDecodeLenient' s =
- either (const $ eitherDecode' $ lenientReencode s) id (eitherDecode' s)
- where
- lenientReencode = LT.encodeUtf8 . LT.decodeUtf8With TE.lenientDecode
-