Path to this page:
./
textproc/hs-HsYAML-aeson,
JSON to YAML Adapter
Branch: pkgsrc-2022Q1,
Version: 0.2.0.1nb1,
Package name: hs-HsYAML-aeson-0.2.0.1nb1,
Maintainer: pkgsrc-usersThe 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.
Master sites:
Filesize: 11.674 KB
Version history: (Expand)
- (2022-03-31) Package added to pkgsrc.se, version hs-HsYAML-aeson-0.2.0.1nb1 (created)