Advantages of YAML over properties file :
- YAML group the similar properties and properties file do not.
- Hence easy to understand and much readable.
- Repeated properties entry can be avoided and understood easily.
Example :
# Employee records - martin: name: Martin D'vloper job: Developer skills: - python - perl - pascal - tabitha: name: Tabitha Bitumen job: Developer skills: - lisp - fortran - erlang