Konf Yaml Bean Integration
This project is maintained by advantageous
This lib allows you to get strongly typed config from YAML file.
Let's look at some examples.
This project allows you to combine YamlBean YAML parser with Konf.
import static io.advantageous.konf.yaml.bean.YamlBeanConfigLoader.yamlBeanConfig;
Config config = yamlBeanConfig("reference.yaml");
String abc = config.getString("abc");
assertEquals("abc", abc);
import static io.advantageous.config.ConfigLoader.configs;
import static io.advantageous.config.ConfigLoader.config;
Config config = configs(yamlBeanConfig("reference.yaml"),
config("test-config.js"));