From b1aa67f0c925a2ce7cd4f6d53fcf3c7e18709c78 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 15 Sep 2017 09:36:23 -0700 Subject: Remove To/FromJSON instance for WriterOptions. This required the (now removed) instances for Syntax. It was too long, anyway, to be of use. --- src/Text/Pandoc/Options.hs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs index 7046e984a..cd353e18e 100644 --- a/src/Text/Pandoc/Options.hs +++ b/src/Text/Pandoc/Options.hs @@ -225,10 +225,6 @@ data WriterOptions = WriterOptions , writerSyntaxMap :: SyntaxMap } deriving (Show, Data, Typeable, Generic) -instance ToJSON WriterOptions where - toEncoding = genericToEncoding defaultOptions -instance FromJSON WriterOptions - instance Default WriterOptions where def = WriterOptions { writerTemplate = Nothing , writerVariables = [] -- cgit v1.2.3