HsYAML-aeson: JSON to YAML Adapter

[ codec, gpl, json, library, text, web, yaml ] [ Propose Tags ]

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.

Versions [RSS] [faq],,
Change log CHANGELOG.md
Dependencies aeson (>= && <1.5 || >= && <1.6 || >= && <2.1), base (>=4.5 && <4.17), bytestring (>= && <0.10 || >= && <0.11 || >= && <0.12), 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 || ==2.0.*), unordered-containers (==0.2.*), vector (>= && <0.13) [details]
License GPL-2.0-or-later
Copyright 2018-2019 Herbert Valerio Riedel
Author Herbert Valerio Riedel
Maintainer hvr@gnu.org, Andreas Abel
Revised Revision 1 made by AndreasAbel at 2022-01-21T13:18:32Z
Category Text, Codec, Web, JSON, YAML
Source repo head: git clone https://github.com/hvr/HsYAML-aeson.git
Uploaded by AndreasAbel at 2021-11-07T23:29:01Z
Distributions Arch:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Executables yaml-test
Downloads 8951 total (329 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]


[Index] [Quick Jump]

Manual Flags


Enable exe:yaml-test component

Automatic Flags

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


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'.

Maintainer's Corner

For package maintainers and hackage trustees