mirror of
https://github.com/github/semantic.git
synced 2024-11-28 01:47:01 +03:00
🚮GMarshalJSON instance
This commit is contained in:
parent
f839e79ac1
commit
41a1bf1d4c
@ -29,8 +29,6 @@ class MarshalJSON t where
|
||||
default fields :: ( Generic1 t, GFields (Rep1 t), ToJSON a) => [(Text, Value)] -> t a -> [(Text, Value)]
|
||||
fields acc = gfields acc . from1
|
||||
|
||||
-- Create MarshalJSON instances for each type constructor
|
||||
instance (GMarshalJSON (Rep1 t), Generic1 t) => MarshalJSON t
|
||||
|
||||
-- Create MarshalJSON instances for each type constructor
|
||||
instance (GFields (Rep1 t), Generic1 t) => MarshalJSON t
|
||||
|
Loading…
Reference in New Issue
Block a user