@@ -2165,6 +2165,13 @@ instance ToJSON a => ToJSON (Semigroup.Option a) where
21652165-- tagged
21662166-------------------------------------------------------------------------------
21672167
2168+instance ToJSON1 Proxy where
2169+ liftToJSON _ _ _ = Null
2170+ {-# INLINE liftToJSON #-}
2171+
2172+ liftToEncoding _ _ _ = E.null_
2173+ {-# INLINE liftToEncoding #-}
2174+
21682175instance ToJSON (Proxy a) where
21692176 toJSON _ = Null
21702177 {-# INLINE toJSON #-}
@@ -2173,6 +2180,13 @@ instance ToJSON (Proxy a) where
21732180 {-# INLINE toEncoding #-}
21742181
21752182
2183+instance ToJSON2 Tagged where
2184+ liftToJSON2 _ _ t _ (Tagged x) = t x
2185+ {-# INLINE liftToJSON2 #-}
2186+
2187+ liftToEncoding2 _ _ t _ (Tagged x) = t x
2188+ {-# INLINE liftToEncoding2 #-}
2189+
21762190instance ToJSON1 (Tagged a) where
21772191 liftToJSON t _ (Tagged x) = t x
21782192 {-# INLINE liftToJSON #-}
@@ -2187,7 +2201,6 @@ instance ToJSON b => ToJSON (Tagged a b) where
21872201 toEncoding = toEncoding1
21882202 {-# INLINE toEncoding #-}
21892203
2190−
21912204instance ToJSONKey b => ToJSONKey (Tagged a b) where
21922205 toJSONKey = contramapToJSONKeyFunction unTagged toJSONKey
21932206 toJSONKeyList = contramapToJSONKeyFunction (fmap unTagged) toJSONKeyList