ghc-hsyaml-aeson 0.2.0.1
JSON to YAML adapter
The YAML 1.2 format provides a much richer data-model and feature-set than the JavaScript Object Notation 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 ghc-hsyaml
,which allows decoding YAML documents in the more limited JSON data-model while also providing convenience by reusing ghc-aeson
's FromJSON
instances for decoding the YAML data into native Haskell data types.
- Website: http://hackage.haskell.org/package/HsYAML-aeson
- Licenses: GPL 2+
- Package source: gnu/packages/haskell-xyz.scm
- Builds: See build status
- Issues: See known issues
Installation
Install ghc-hsyaml-aeson 0.2.0.1
as follows:
guix install ghc-hsyaml-aeson@0.2.0.1
Or install the latest version:
guix install ghc-hsyaml-aeson
You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell
documentation for more information.