Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Aeson.JSONEither
Documentation
data JSONEither a b Source #
Instances
(Eq a, Eq b) => Eq (JSONEither a b) Source # | |
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 # | |
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 # | |
Defined in Data.Aeson.JSONEither | |
(ToJSON a, ToJSON b) => ToJSON (JSONEither a b) Source # | |
Defined in Data.Aeson.JSONEither Methods toJSON :: JSONEither a b -> Value # toEncoding :: JSONEither a b -> Encoding # toJSONList :: [JSONEither a b] -> Value # toEncodingList :: [JSONEither a b] -> Encoding # | |
(FromJSON a, FromJSON b) => FromJSON (JSONEither a b) Source # | |
Defined in Data.Aeson.JSONEither Methods parseJSON :: Value -> Parser (JSONEither a b) # parseJSONList :: Value -> Parser [JSONEither a b] # |