use of org.ambraproject.wombat.config.yaml.IgnoreMissingPropertyConstructor in project wombat by PLOS.
the class RootConfiguration method yaml.
@Bean
public Yaml yaml() {
final Yaml yaml;
if (ignoreMissingProperty) {
final Constructor contructor = new IgnoreMissingPropertyConstructor();
yaml = new Yaml(contructor);
} else {
yaml = new Yaml();
}
return yaml;
}
Aggregations