- 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.
推薦閱讀
- Getting Started with Simulink
- Excel 2010在會計與財務管理日常工作中的應用
- Excelize權威指南
- 非常Easy:Excel高效辦公
- Salesforce Platform Developer I Certification Guide
- 和秋葉一起學:秒懂Word(全彩版)
- 新編Word/Excel/PPT 2016高效辦公三合一(全彩版)
- Excel行政文秘應用之道
- 中文PowerPoint 2003應用基礎
- Office2010從入門到精通(視頻講解+圖解+技巧)
- Office 2016辦公應用實戰從入門到精通(超值版)
- 精P之道:高效溝通PPT
- 移動游戲UI設計專業教程
- PowerPoint 2007中文版入門實戰與提高
- Unity 3D增強現實開發實戰