@@ -2174,6 +2174,13 @@ instance ToJSON a => ToJSON (Semigroup.Option a) where
21742174-- tagged
21752175-------------------------------------------------------------------------------
21762176
2177+instance ToJSON1 Proxy where
2178+ liftToJSON _ _ _ = Null
2179+ {-# INLINE liftToJSON #-}
2180+
2181+ liftToEncoding _ _ _ = E.null_
2182+ {-# INLINE liftToEncoding #-}
2183+
21772184instance ToJSON (Proxy a) where
21782185 toJSON _ = Null
21792186 {-# INLINE toJSON #-}
@@ -2182,6 +2189,13 @@ instance ToJSON (Proxy a) where
21822189 {-# INLINE toEncoding #-}
21832190
21842191
2192+instance ToJSON2 Tagged where
2193+ liftToJSON2 _ _ t _ (Tagged x) = t x
2194+ {-# INLINE liftToJSON2 #-}
2195+
2196+ liftToEncoding2 _ _ t _ (Tagged x) = t x
2197+ {-# INLINE liftToEncoding2 #-}
2198+
21852199instance ToJSON1 (Tagged a) where
21862200 liftToJSON t _ (Tagged x) = t x
21872201 {-# INLINE liftToJSON #-}
@@ -2196,7 +2210,6 @@ instance ToJSON b => ToJSON (Tagged a b) where
21962210 toEncoding = toEncoding1
21972211 {-# INLINE toEncoding #-}
21982212
2199−
22002213instance ToJSONKey b => ToJSONKey (Tagged a b) where
22012214 toJSONKey = contramapToJSONKeyFunction unTagged toJSONKey
22022215 toJSONKeyList = contramapToJSONKeyFunction (fmap unTagged) toJSONKeyList