Removed deprecated toJsonFilter.

Use toJSONFilter from Text.Pandoc.JSON.
This commit is contained in:
John MacFarlane 2016-12-10 10:46:01 +01:00
parent 87170e2af4
commit f91a6b541f

View file

@ -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