mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 09:47:06 +00:00
Remove To/FromJSON instance for WriterOptions.
This required the (now removed) instances for Syntax. It was too long, anyway, to be of use.
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user