packages feed

aeson-combinators 0.0.2.0 → 0.0.2.1

raw patch · 3 files changed

+43/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,6 +1,13 @@ # Revision history for aeson-combinators -## 0.0.0.1 -- 2020-03-01+## 0.0.2.1 -- 2020-03-08+* Add README to extra source files++## 0.0.2.0 -- 2020-03-08++* GHCJS compatibility++## 0.0.1.1 -- 2020-03-01  * Fixes and improvements in documentation * Add source-repository to cabal file
+ README.md view
@@ -0,0 +1,32 @@+# Aeson Combinators++[![Build Status](https://travis-ci.org/turboMaCk/aeson-combinators.svg?branch=master)](https://travis-ci.org/turboMaCk/aeson-combinators)++This library defines [**low overhead**](#internals) value space `Decoder`+on top of Aeson's Parser for combinator style decoding.++This library is compatible with GHC **7.6** and later as well as recent versions of **GHCJS**.++__Encoding to JSON is currently not supported but might be added in the future version.__++I wrote a [blob post](https://turbomack.github.io/posts/2020-02-21-value-space-decoding-for-aeson.html)+describing what this library attempts to solve.++## Internals++This library introduces as low overhead over Aeson API as possible.+`Decoder a` type is a function `Value -> Parser a` same as `fromJSON`+function of `FromJSON` class. This means there should be near zero overhead.+Aeson types and functions are reused where possible.++## TODO++- [x] Documentation+- [x] Support for more GHC versions+- [x] Default decoders for Containers+- [ ] Encoding API++## License++(c) 2020 Marek Fajkus+BSD-3-Clause
aeson-combinators.cabal view
@@ -1,6 +1,6 @@ cabal-version:       >=1.10 name:                aeson-combinators-version:             0.0.2.0+version:             0.0.2.1 synopsis:            Aeson combinators for dead simple JSON decoding description:     This library defines low overhead value space `Decoder`@@ -15,7 +15,8 @@ stability:           experimental category:            Text, Web, JSON build-type:          Simple-extra-source-files:  CHANGELOG.md+extra-source-files:  README.md+                   , CHANGELOG.md homepage:            https://github.com/turboMaCk/aeson-combinators tested-with:         GHC == 7.10.3                    , GHC == 7.8.4