Refine YamlProcessor to allow different empty values by philwebb · Pull Request #36207 · spring-projects/spring-framework

@philwebb

Update `YamlProcessor` to allow any value to be inserted for
empty entries. This update will allow blank strings to be used
instead of `null` which better aligns with the way that
`.properties` files are loaded.

This update also allows allows the specified `emptyValue` to be
inserted instead of a blank String when the YAML contains `null`
or `~` values.

See spring-projectsgh-36197
See spring-projectsgh-19986

Signed-off-by: Phillip Webb <phil.webb@broadcom.com>

sbrannen added a commit that referenced this pull request

Jan 28, 2026

geeeeet pushed a commit to geeeeet/spring-framework that referenced this pull request

Jan 29, 2026