purescript-iso-0.0.0: Isomorphic trivial data type definitions over JSON

Safe HaskellNone
LanguageHaskell2010

Data.Aeson.JSONEither

Documentation

data JSONEither a b Source #

Constructors

JSONLeft a 
JSONRight b 
Instances
(Eq a, Eq b) => Eq (JSONEither a b) Source # 
Instance details

Defined in Data.Aeson.JSONEither

Methods

(==) :: JSONEither a b -> JSONEither a b -> Bool #

(/=) :: JSONEither a b -> JSONEither a b -> Bool #

(Show a, Show b) => Show (JSONEither a b) Source # 
Instance details

Defined in Data.Aeson.JSONEither

Methods

showsPrec :: Int -> JSONEither a b -> ShowS #

show :: JSONEither a b -> String #

showList :: [JSONEither a b] -> ShowS #

(Arbitrary a, Arbitrary b) => Arbitrary (JSONEither a b) Source # 
Instance details

Defined in Data.Aeson.JSONEither

Methods

arbitrary :: Gen (JSONEither a b) #

shrink :: JSONEither a b -> [JSONEither a b] #

(ToJSON a, ToJSON b) => ToJSON (JSONEither a b) Source # 
Instance details

Defined in Data.Aeson.JSONEither

(FromJSON a, FromJSON b) => FromJSON (JSONEither a b) Source # 
Instance details

Defined in Data.Aeson.JSONEither