ghc-hsyaml-aeson 0.2.0.1
Dependencies: ghc-hsyaml@0.2.1.1 ghc-aeson@2.0.3.0 ghc-scientific@0.3.7.0 ghc-unordered-containers@0.2.19.1 ghc-vector@0.12.3.1
Channel: guix
Licenses: GPL 2+
Synopsis: JSON to YAML adapter
Description:
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.
Total results: 1