Safe Haskell | None |
---|---|
Language | GHC2021 |
Hix.Data.Json
Documentation
newtype JsonParsec a Source #
Constructors
JsonParsec a |
Instances
jsonParsec :: JsonParsec a -> a Source #
newtype JsonEither a b Source #
Constructors
JsonEither (Either a b) |
Instances
(FromJSON a, FromJSON b) => FromJSON (JsonEither a b) Source # | |
Defined in Hix.Data.Json Methods parseJSON :: Value -> Parser (JsonEither a b) # parseJSONList :: Value -> Parser [JsonEither a b] # omittedField :: Maybe (JsonEither a b) # | |
(Show a, Show b) => Show (JsonEither a b) Source # | |
Defined in Hix.Data.Json Methods showsPrec :: Int -> JsonEither a b -> ShowS # show :: JsonEither a b -> String # showList :: [JsonEither a b] -> ShowS # | |
(Eq a, Eq b) => Eq (JsonEither a b) Source # | |
Defined in Hix.Data.Json Methods (==) :: JsonEither a b -> JsonEither a b -> Bool # (/=) :: JsonEither a b -> JsonEither a b -> Bool # |
jsonEither :: JsonEither a b -> Either a b Source #