Factory for java.util.Properties that reads from a YAML source, exposing a flat structure of String
YAML is a nice human-readable format for configuration, and it has some useful hierarchical properties. It's more or less a superset of JSON, so it has a lot of similar features.
Note: All exposed values are of type String for access through the common Properties#getProperty method (e.g. in configuration property resolution through PropertyResourceConfigurer#setProperties(Properties)). If this is not desirable, use YamlMapFactoryBean instead.
The Properties created by this factory have nested paths for hierarchical objects, so for instance this YAML environments: dev: url: http://dev.bar.com name: Developer Setup prod: url: http://foo.bar.com name: My Cool App is transformed into these properties: environments.dev.url=http://dev.bar.com environments.dev.name=Developer Setup environments.prod.url=http://foo.bar.com environments.prod.name=My Cool App Lists are split as property keys with  dereferencers, for example this YAML: servers: - dev.bar.com - foo.bar.com becomes properties like this: servers=dev.bar.com servers=foo.bar.com
Requires SnakeYAML 1.18 or higher, as of Spring Framework 5.0.6. @author Dave Syer @author Stephane Nicoll @author Juergen Hoeller @since 4.1