We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dacc60 commit 368dcf2Copy full SHA for 368dcf2
tests/Encoders.hs
@@ -252,6 +252,11 @@ incoherentInstancesNeededParseJSONString :: FromJSON a => Value -> Parser (Incoh
252
incoherentInstancesNeededParseJSONString = case () of
253
_ | True -> $(mkParseJSON defaultOptions ''IncoherentInstancesNeeded)
254
| False -> genericParseJSON defaultOptions
255
+
256
+incoherentInstancesNeededToJSON :: ToJSON a => IncoherentInstancesNeeded a -> Value
257
+incoherentInstancesNeededToJSON = case () of
258
+ _ | True -> $(mkToJSON defaultOptions ''IncoherentInstancesNeeded)
259
+ | False -> genericToJSON defaultOptions
260
#endif
261
262
-------------------------------------------------------------------------------
0 commit comments