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

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.

主站蜘蛛池模板: 封丘县| 郴州市| 海淀区| 乐亭县| 厦门市| 勐海县| 布尔津县| 莲花县| 始兴县| 陵川县| 苏州市| 新沂市| 安图县| 泰兴市| 汉沽区| 唐山市| 洛浦县| 丰原市| 大竹县| 明光市| 新源县| 桦南县| 金阳县| 五寨县| 英德市| 湛江市| 方城县| 株洲市| 宜州市| 兴仁县| 黑水县| 保靖县| 仁化县| 鹤山市| 宜州市| 建昌县| 鄯善县| 桂东县| 金平| 泾阳县| 亳州市|