conferer-yaml-1.0.0.0: Configuration for reading yaml files
Copyright(c) 2019 Lucas David Traverso
LicenseMPL-2.0
MaintainerLucas David Traverso <lucas6246@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Conferer.Source.Yaml

Description

Source for json config files using Aeson

Synopsis

Documentation

fromConfig :: Key -> SourceCreator Source #

Create a SourceCreator from a yaml file that we get from the env with the same logic as JSONSource

fromFilePath :: FilePath -> IO Source Source #

Create a Source by reading the provided path as json