packages feed

aeson-combinators-0.0.1.0: aeson-combinators.cabal

cabal-version:       >=1.10
name:                aeson-combinators
version:             0.0.1.0
synopsis:            Aeson combinators for dead simple JSON decoding
description:
    This library defines low overhead value space `Decoder`
    on top of Aeson's Parser for combinator style decoding.

bug-reports:         https://github.com/turboMaCk/aeson-combinators/issues
license:             BSD3
license-file:        LICENSE
author:              Marek Fajkus <marek.faj@gmail.com>
maintainer:          Marek Fajkus <marek.faj@gmail.com>
copyright:           (c) 2020 Marek Fajkus
stability:           experimental
category:            Text, Web, JSON
build-type:          Simple
extra-source-files:  CHANGELOG.md
homepage:            https://github.com/turboMaCk/aeson-combinators
tested-with:         GHC == 7.10.3
                   , GHC == 7.8.4
                   , GHC == 7.6.3
                   , GHC == 8.4.4
                   , GHC == 8.6.5

library
  exposed-modules:     Data.Aeson.Combinators.Decode
  -- other-modules:
  -- other-extensions:
  build-depends:       base >= 4 && < 5
                     , bytestring
                     , text
                     , aeson
                     , scientific
                     , vector
                     , unordered-containers
                     , fail
                     , time
                     , time-compat
                     , uuid-types
                     , containers
                     , unordered-containers
                     , void
                     , scientific
  hs-source-dirs:      lib
  default-language:    Haskell2010

test-suite spec
    type:              exitcode-stdio-1.0
    hs-source-dirs:    test
    main-is:           Spec.hs
    other-modules:     JSONDecodeSpec
    build-depends:     base
                     , hspec
                     , aeson-combinators
                     , bytestring
                     , text
                     , aeson
                     , utf8-string
    ghc-options:       -Wall
    default-language:  Haskell2010