generic-override-aeson-0.0.0.0: Provides orphan instances necessary for integrating generic-override and aeson

Safe HaskellNone
LanguageHaskell2010

Data.Override.Aeson

Contents

Description

This module contains only orphan instances. It is only needed to be imported where you are overriding instances for aeson generic derivation.

Orphan instances

(Generic (Override a xs), GToJSON Zero (Rep (Override a xs)), GToEncoding Zero (Rep (Override a xs))) => ToJSON (Override a xs) Source # 
Instance details

(Generic (Override a xs), GFromJSON Zero (Rep (Override a xs))) => FromJSON (Override a xs) Source # 
Instance details

(Coercible a (Using ms a xs), ToJSON (Using ms a xs)) => ToJSON (Overridden ms a xs) Source # 
Instance details

Methods

toJSON :: Overridden ms a xs -> Value #

toEncoding :: Overridden ms a xs -> Encoding #

toJSONList :: [Overridden ms a xs] -> Value #

toEncodingList :: [Overridden ms a xs] -> Encoding #

(Coercible a (Using ms a xs), FromJSON (Using ms a xs)) => FromJSON (Overridden ms a xs) Source # 
Instance details

Methods

parseJSON :: Value -> Parser (Overridden ms a xs) #

parseJSONList :: Value -> Parser [Overridden ms a xs] #