aeson-generic-default: Type-level default fields for aeson Generic FromJSON parser
Define default values for missing FromJSON object fields within field type declaration.
It becomes handy e.g. for parsing yaml configuration files. The default values are mostly defined directly at the type level so that the user doesn't have to write manual FromJSON instance.
[Skip to Readme]
Downloads
- aeson-generic-default-0.1.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.1.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | aeson (>=2.2 && <2.3), base (>=4.16 && <5), data-default (>=0.7 && <0.8), text (>=2.0 && <2.2) [details] |
Tested with | ghc ==9.2.8, ghc ==9.6.5, ghc ==9.10.1 |
License | BSD-3-Clause |
Author | Ondrej Palkovsky |
Maintainer | palkovsky.ondrej@gmail.com |
Category | Text, Web, JSON |
Home page | https://github.com/ondrap/aeson-generic-default |
Bug tracker | https://github.com/ondrap/aeson-generic-default/issues |
Uploaded | by ondrap at 2024-10-09T10:33:10Z |
Distributions | |
Downloads | 39 total (14 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2024-10-09 [all 1 reports] |