purescript-iso-0.0.0: Isomorphic trivial data type definitions over JSON
Data.Aeson.JSONEither
data JSONEither a b Source #
Constructors
Defined in Data.Aeson.JSONEither
Methods
(==) :: JSONEither a b -> JSONEither a b -> Bool #
(/=) :: JSONEither a b -> JSONEither a b -> Bool #
showsPrec :: Int -> JSONEither a b -> ShowS #
show :: JSONEither a b -> String #
showList :: [JSONEither a b] -> ShowS #
arbitrary :: Gen (JSONEither a b) #
shrink :: JSONEither a b -> [JSONEither a b] #
toJSON :: JSONEither a b -> Value #
toEncoding :: JSONEither a b -> Encoding #
toJSONList :: [JSONEither a b] -> Value #
toEncodingList :: [JSONEither a b] -> Encoding #
parseJSON :: Value -> Parser (JSONEither a b) #
parseJSONList :: Value -> Parser [JSONEither a b] #