aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-10 10:46:01 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:41 +0100
commitf91a6b541fa4f05377dc48e9552584743eb9734b (patch)
tree1dc7e74f0d245c6ac33b935e3e61bc54f59d7955
parent87170e2af42336a71f07af6dc20d70b43738e086 (diff)
downloadpandoc-f91a6b541fa4f05377dc48e9552584743eb9734b.tar.gz
Removed deprecated toJsonFilter.
Use toJSONFilter from Text.Pandoc.JSON.
-rw-r--r--src/Text/Pandoc.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs
index 4990a77fe..99ad76cda 100644
--- a/src/Text/Pandoc.hs
+++ b/src/Text/Pandoc.hs
@@ -378,12 +378,6 @@ getWriter s
\o -> r o{ writerExtensions = setExts $
getDefaultExtensions writerName }
-{-# DEPRECATED toJsonFilter "Use 'toJSONFilter' from 'Text.Pandoc.JSON' instead" #-}
--- | Deprecated. Use @toJSONFilter@ from @Text.Pandoc.JSON@ instead.
-class ToJSONFilter a => ToJsonFilter a
- where toJsonFilter :: a -> IO ()
- toJsonFilter = toJSONFilter
-
readJSON :: ReaderOptions -> String -> Either PandocError Pandoc
readJSON _ = mapLeft PandocParseError . eitherDecode' . UTF8.fromStringLazy