See https://github.com/spring-projects/spring-boot/issues/31301#issuecomment-1150721952.

The YamlJsonParser doesn't actually parse JSON that well. We should probably drop it in 3.0 and rely on our own BasicJsonParser.