@hackage yaml0.8.16
Support for parsing and rendering YAML documents.
Categories
License
BSD-3-Clause
Maintainer
Michael Snoyman <michael@snoyman.com>
Links
Versions
Installation
Dependencies (16)
- aeson >=0.7
- attoparsec >=0.11.3.0
- base >=4 && <4.11
- bytestring >=0.9.1.4
- conduit >=1.1.0 && <1.3
- containers Show all…
Dependents (425)
@hackage/hopenpgp-tools, @hackage/yaml2owl, @hackage/khph, @hackage/cabal-scaffold, @hackage/craft, @hackage/commonmark-simple, Show all…
Package Flags
no-exe
(off by default)
don't install the yaml2json or json2yaml executables
system-libyaml
(off by default)
Use the system-wide libyaml instead of the bundled copy
no-unicode
(off by default)
Don't enable unicode output. Instead, unicode characters will be escaped.
yaml
Provides support for parsing and emitting Yaml documents.
This package includes the full libyaml C library version 0.1.5 by Kirill Simonov in the package so you don't need to worry about any non-Haskell dependencies.
The package is broken down into two primary modules. "Data.Yaml" provides a high-level interface based around the JSON datatypes provided by the @aeson@ package. "Text.Libyaml" provides a lower-level, streaming interface. For most users, "Data.Yaml" is recommended.
Additional modules:
- Data.Yaml.Include supports adding
!includedirectives to your YAML files. - DAta.Yaml.Builder and Data.Yaml.Parser allow more fine-grained control of parsing an rendering, as opposed to just using the aeson typeclass and datatype system for parsing and rendering.
- Data.Yaml.Aeson is currently a re-export of Data.Yaml to explicitly choose to use the aeson-compatible API.