summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-09-15 09:36:23 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-09-15 09:36:23 -0700
commitb1aa67f0c925a2ce7cd4f6d53fcf3c7e18709c78 (patch)
tree304d629ee8d59507ea30d99fcc5bc3e0ef82daf4 /src
parent64472a468c9edbe118fa31c618a75a0e5522bbec (diff)
Remove To/FromJSON instance for WriterOptions.
This required the (now removed) instances for Syntax. It was too long, anyway, to be of use.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Options.hs4
1 files changed, 0 insertions, 4 deletions
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 = []