Input YAML string
id: 1
name: John
age: 24
db:
tyle: mysql
host: 127.0.0.1
port: 3306
username: root
password: root
Output Properties string:
id=1
name=John
age=24
db.tyle=mysql
db.host=127.0.0.1
db.port=3306
db.username=root
db.password=root
YAML is a human-readable data serialization language, commonly used for writing configuration files.
YAML is a streamlined programming language because it is designed to be easy to read and understand. It can also be integrated with other programming languages. Due to its flexibility and accessibility, YAML is used by Ansible® to create automation workflows in the form of Ansible Playbooks.
.properties is the file extension primarily used in Java-related technologies to store application configuration parameters. They can also be used to store strings for internationalization and localization; these are known as property resource bundles.