git.iko.soy/typeable/pandoc
on master help sign in
Remove To/FromJSON instance for WriterOptions.

This required the (now removed) instances for Syntax. It was too long, anyway, to be of use.

commitb1aa67f0c925a2ce7cd4f6d53fcf3c7e18709c78 authorJohn MacFarlane <jgm@berkeley.edu> dateFri 15 Sep 2017, 09:36 (9 years ago) parent64472a4
1 file changed−4
src/Text/Pandoc/Options.hs−4
src/Text/Pandoc/Options.hs−4
@@ -225,10 +225,6 @@ data WriterOptions = WriterOptions
225225 , writerSyntaxMap :: SyntaxMap
226226 } deriving (Show, Data, Typeable, Generic)
227227
228−instance ToJSON WriterOptions where
229− toEncoding = genericToEncoding defaultOptions
230−instance FromJSON WriterOptions
231−
232228instance Default WriterOptions where
233229 def = WriterOptions { writerTemplate = Nothing
234230 , writerVariables = []