Tiny, but Useful Spring Boot-related Tool: YAML to Properties Converter

Home » Blog » Software » Enterprise Software » Tiny, but Useful Spring Boot-related Tool: YAML to Properties Converter

Amongst other options, Spring Boot allows application developers to work with both “traditional” Java-style flat application.properties and hierarchical application.yml (or application.yaml, for that matter) YAML configuration files for providing applications with externalised configuration.

Occasionally, for example when migrating from flat properties files to YAML ones (in order to avoid repetition of property keys), the need might arise to convert one of of those formats to the other.

To help with that and to avoid tedious – and error-prone – manual work, there’s Yaml to properties / Properties to Yaml converter, which allows you to convert a nested YAML structure to its flat properties counterpart (and vice versa).

About the author: Bjoern
Independent IT consultant, entrepreneur

Leave a Comment