详见:

各类配置文件格式简介(ini,yaml,conf,xml…)和nb的Viper

适合人类编写:
ini(conf) > yaml(properties) > json > xml
可以存储的数据复杂度:
xml > yaml(properties) > json > ini(conf)