- Mastering Spring Boot 2.0
- Dinesh Rajput
- 67字
- 2021-06-25 21:29:16
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.
推薦閱讀
- 中文版Rhino 5.0實(shí)用教程
- Word/Excel/PPT 2010入門與提高(超值版)
- 隨身查:從原始數(shù)據(jù)到完美Excel圖表
- Word/Excel/PPT 2013辦公應(yīng)用從入門到精通
- 辦公軟件實(shí)訓(xùn)教程
- Excel 2019應(yīng)用大全
- WPS Office 2019 高效辦公
- 電腦辦公(Windows 10 + Office 2016)入門與提高
- 一圖抵萬言:從Excel數(shù)據(jù)到分析結(jié)果可視化
- Excel 2010高效辦公:市場與銷售管理
- Office 2007辦公軟件應(yīng)用立體化教程
- OpenCV Essentials
- Excel 2016高級應(yīng)用案例教程(視頻指導(dǎo)版)
- 中文版AutoCAD 2016園林設(shè)計(jì)從入門到精通
- Excel人力資源應(yīng)用之道