Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. fromAesonParser :: forall (m :: Type -> Type) a e . (Functor m, Monad m, FromJSON a) => ParseT e m a

    aeson-better-errors Data.Aeson.BetterErrors

    Create a parser for any type, using its FromJSON instance. Generally, you should prefer to write parsers using the other functions in this module; key, asString, etc, since they will usually generate better error messages. However this function is also useful occasionally.

  2. toAesonParser :: (err -> Text) -> Parse err a -> Value -> Parser a

    aeson-better-errors Data.Aeson.BetterErrors

    This function is useful when you have a Parse err a and you want to obtain an instance for FromJSON a. Simply define:

    parseJSON = toAesonParser showMyCustomError myParser
    

  3. toAesonParser' :: Parse' a -> Value -> Parser a

    aeson-better-errors Data.Aeson.BetterErrors

    Take a parser which never produces custom validation errors and turn it into an Aeson parser. Note that in this case, there is no need to provide a display function.

  4. FromAeson :: String -> ErrorSpecifics err

    aeson-better-errors Data.Aeson.BetterErrors.Internal

    An error arising inside a FromJSON instance.

  5. fromAesonParser :: forall (m :: Type -> Type) a e . (Functor m, Monad m, FromJSON a) => ParseT e m a

    aeson-better-errors Data.Aeson.BetterErrors.Internal

    Create a parser for any type, using its FromJSON instance. Generally, you should prefer to write parsers using the other functions in this module; key, asString, etc, since they will usually generate better error messages. However this function is also useful occasionally.

  6. toAesonParser :: (err -> Text) -> Parse err a -> Value -> Parser a

    aeson-better-errors Data.Aeson.BetterErrors.Internal

    This function is useful when you have a Parse err a and you want to obtain an instance for FromJSON a. Simply define:

    parseJSON = toAesonParser showMyCustomError myParser
    

  7. toAesonParser' :: Parse' a -> Value -> Parser a

    aeson-better-errors Data.Aeson.BetterErrors.Internal

    Take a parser which never produces custom validation errors and turn it into an Aeson parser. Note that in this case, there is no need to provide a display function.

  8. package conduit-aeson

    Short description Please see the README on GitHub at https://github.com/lehins/conduit-aeson#readme

  9. package domain-aeson

    Integration of domain with aeson Integration of domain with aeson

  10. module DomainAeson

    No documentation available.

Page 14 of many | Previous | Next