yaml-0.9.0: Support for parsing and rendering YAML documents.

Safe HaskellNone
LanguageHaskell2010

Data.Yaml.Include

Synopsis

Documentation

decodeFile :: FromJSON a => FilePath -> IO (Maybe a) Source #

Like decodeFile but with support for relative and absolute includes.

The syntax for includes follows the form:

somekey: !include ./somefile.yaml

decodeFileEither :: FromJSON a => FilePath -> IO (Either ParseException a) Source #

Like decodeFileEither but with support for relative and absolute includes.

The syntax for includes follows the form:

somekey: !include ./somefile.yaml