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

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.

主站蜘蛛池模板: 临朐县| 石景山区| 苍溪县| 綦江县| 阿拉善盟| 渝北区| 阿瓦提县| 河曲县| 英德市| 延安市| 新巴尔虎右旗| 抚宁县| 商水县| 凭祥市| 景泰县| 浮山县| 新巴尔虎左旗| 望谟县| 拉孜县| 新源县| 任丘市| 买车| 沂南县| 武宁县| 铜陵市| 隆回县| 京山县| 石屏县| 红桥区| 南部县| 自贡市| 常熟市| 阿拉尔市| 江油市| 双辽市| 大理市| 济南市| 广饶县| 孟连| 丰都县| 香河县|