ecluse
Safe HaskellNone
LanguageGHC2021

Ecluse.Config.Aeson

Description

Named configuration parsers at the YAML and JSON boundary.

Synopsis

Documentation

parseAppConfig :: Value -> Parser AppConfig Source #

Parse settings while leaving rule resolution to Ecluse.Config.

parseRulesPatch :: Value -> Parser RulePatch Source #

Read a document's rule overlay, treating absent and null rules as an empty patch.

parseRulePatch :: Value -> Parser RulePatch Source #

Parse named rule entries without resolving them against a baseline.

parseRuleEntry :: Value -> Parser RuleEntry Source #

Refuse secret keys before decoding a rule's fields.