Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Support for serialising Haskell to and from Yaml.
C Haskell Makefile

Merge pull request #61 from zalora/test-tweaks

spec: Do not write files into current directory
latest commit 963ba05663
@snoyberg authored
Failed to load latest commit information.
Data Version bump
Text Fix warnings
c more detailed error reporting
exe Update yaml2json.hs
libyaml Added support for Win64 to api.c
.gitignore spec: Do not write files into current directory
.travis.yml travis.yml Version bump
LICENSE Working yaml library, lots of warnings, alias not written
Makefile Makefile (for testing) Clean up docs, version bump
Setup.lhs more detailed error reporting
builder-test.hs Prep for release
parser-test.hs Data.Yaml.Parser
yaml.cabal spec: Do not write files into current directory


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 !include directives 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.
Something went wrong with that request. Please try again.