e9571-config-reader-haskell: Automatically read config.json from the current directory
Automatically discover and parse a config.json file in the current working directory or any of its parent directories. No need to manually pass file paths. Built on top of aeson, it provides a simple `getConfig :: FromJSON a => IO a` function that also supports default values when fields are missing in the JSON file.
[Skip to Readme]
Downloads
- e9571-config-reader-haskell-0.1.0.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.1.0.0, 0.1.0.1, 0.1.0.2 |
|---|---|
| Dependencies | aeson (>=2.0 && <2.3), base (>=4.14 && <5), bytestring (>=0.10 && <0.13), directory (>=1.3 && <1.4), e9571-config-reader-haskell [details] |
| License | MIT |
| Author | e9571 |
| Maintainer | 95714623@qq.com |
| Category | Configuration |
| Home page | https://github.com/e9571/e9571-config-reader-haskell |
| Uploaded | by e9571 at 2025-11-26T01:27:22Z |
| Distributions | |
| Executables | simple-example |
| Downloads | 0 total (0 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |