各种格式配置文件简介ini、conf、xml、json、yaml、properties

详见:

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

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

猜你喜欢

转载自blog.csdn.net/lishuoboy/article/details/130184698