HsYAML-aeson: JSON to YAML Adapter
The YAML 1.2 format provides
a much richer data-model and feature-set
than the JavaScript Object Notation (JSON) format.
However, sometimes it's desirable to ignore the extra capabilities
and treat YAML as if it was merely a more convenient markup format
for humans to write JSON data. To this end this module provides a
compatibility layer atop HsYAML
which allows decoding YAML documents in the more limited JSON data-model while also providing
convenience by reusing aeson's
FromJSON
instances for decoding the YAML data into native Haskell data types.
Downloads
- HsYAML-aeson-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Versions [RSS] | 0.1.0.0, 0.2.0.0, 0.2.0.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | aeson (>=1.4.0.0 && <1.5), base (>=4.5 && <4.13), bytestring (>=0.9.2.1 && <0.10 || >=0.10.0.2 && <0.11), HsYAML (>=0.1.1 && <0.1.2), mtl (>=2.2.1 && <2.3), text (>=1.2.3.1 && <1.3), vector (>=0.12.0.2 && <0.13) [details] |
License | GPL-2.0-or-later |
Copyright | 2018-2019 Herbert Valerio Riedel |
Author | Herbert Valerio Riedel |
Maintainer | hvr@gnu.org |
Revised | Revision 1 made by HerbertValerioRiedel at 2019-08-05T20:58:00Z |
Category | Text, Codec, Web, JSON, YAML |
Source repo | head: git clone https://github.com/hvr/HsYAML-aeson.git |
Uploaded | by HerbertValerioRiedel at 2019-01-27T12:36:50Z |
Distributions | Arch:0.2.0.1, LTSHaskell:0.2.0.1, NixOS:0.2.0.1, Stackage:0.2.0.1, openSUSE:0.2.0.1 |
Downloads | 10438 total (168 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2019-01-27 [all 1 reports] |