| CARVIEW |
aeson-combinators: Aeson combinators for dead simple JSON decoding
Low overhead value space Decoder
on top of Aeson's Parser for combinator style decoding.
[Skip to Readme]
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| doctest | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- aeson-combinators-0.1.2.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.0.1.0, 0.0.1.1, 0.0.2.0, 0.0.2.1, 0.0.3.0, 0.0.4.0, 0.0.4.1, 0.0.5.0, 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.2.2 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson, attoparsec-aeson, base (>=4 && <5), bytestring, containers, fail, scientific, text, time, time-compat, unordered-containers, uuid-types, vector, void [details] |
| Tested with | ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.8, ghc ==9.4.8, ghc ==9.8.1, ghc ==9.10.2, ghcjs ==8.6.0.1 |
| License | BSD-3-Clause |
| Copyright | (c) 2020 Marek Fajkus |
| Author | Marek Fajkus <marek.faj@gmail.com> |
| Maintainer | Marek Fajkus <marek.faj@gmail.com> |
| Uploaded | by MarekFajkus at 2025-09-21T11:19:59Z |
| Category | Text, Web, JSON |
| Home page | https://github.com/turboMaCk/aeson-combinators |
| Bug tracker | https://github.com/turboMaCk/aeson-combinators/issues |
| Source repo | head: git clone https://github.com/turboMaCk/aeson-combinators.git |
| Distributions | LTSHaskell:0.1.2.2, NixOS:0.1.2.2, Stackage:0.1.2.2 |
| Downloads | 3007 total (49 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2025-09-21 [all 1 reports] |
Readme for aeson-combinators-0.1.2.2
[back to package description]Aeson Combinators
Low overhead value space Decoder
on top of Aeson's Parser for combinator style decoding.
This library is compatible with GHC as well as recent versions of GHCJS.
Performance
Decoder a type is a function Value -> Parser a the same as parseJSON
member function of FromJSON class. This means there should be near zero overhead.
Aeson types and functions are reused where possible. Similarly Encoder a type
follow toJSON from ToJSON type class.
Simple benchmark shows that implementation using aeson-combinators performs better than equivalent derived instance and on par (actually even slightly better though with difference in noise range) with manually implemented instance.
License
(c) 2020 Marek Fajkus BSD-3-Clause