HsYAML-aeson: JSON to YAML Adapter

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


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.


Change logCHANGELOG.md
Dependenciesaeson (>= && <1.5), base (>=4.5 && <4.14), bytestring (>= && <0.10 || >= && <0.11), containers (>=0.4.2 && <0.7), HsYAML (>=0.2.0 && <0.3), mtl (>=2.2.1 && <2.3), scientific (>= && <0.4), text (>=1.2.3 && <1.3), unordered-containers (==0.2.*), vector (>= && <0.13) [details]
Copyright2018-2019 Herbert Valerio Riedel
AuthorHerbert Valerio Riedel
CategoryText, Codec, Web, JSON, YAML
Source repositoryhead: git clone https://github.com/hvr/HsYAML-aeson.git
Uploaded2019-09-22T20:57:50Z by HerbertValerioRiedel




Maintainers' corner

For package maintainers and hackage trustees