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:
John MacFarlane
2017-09-15 09:36:23 -07:00
parent 64472a468c
commit b1aa67f0c9
-4
View File
@@ -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 = []