官术网_书友最值得收藏!

Using YAML for configuration

In a Spring Boot application, the SpringApplication class automatically supports YAML as an alternative to properties. YAML isn't a markup language. It is an alternative to .properties files and it allows you to define properties in the hierarchical configuration. The Java parser for YAML is called SnakeYAML. It must be in the classpath, but it is automatically added to the classpath by spring-boot-starters.

主站蜘蛛池模板: 嘉祥县| 西林县| 赤水市| 永泰县| 合山市| 甘德县| 牟定县| 洛南县| 会宁县| 鲁甸县| 乐至县| 滨州市| 洛宁县| 大田县| 汤原县| 焉耆| 大石桥市| 光泽县| 高清| 宾川县| 吉林市| 施甸县| 海安县| 且末县| 堆龙德庆县| 海口市| 蚌埠市| 房产| 秦安县| 五莲县| 呼图壁县| 和平区| 广汉市| 鄂尔多斯市| 志丹县| 南昌市| 如东县| 方山县| 建阳市| 贵德县| 建平县|