diff --git a/IV. Spring Boot features/23.6. Using YAML instead of Properties.md b/IV. Spring Boot features/23.6. Using YAML instead of Properties.md index e69de29..c1232a0 100644 --- a/IV. Spring Boot features/23.6. Using YAML instead of Properties.md +++ b/IV. Spring Boot features/23.6. Using YAML instead of Properties.md @@ -0,0 +1,5 @@ +### 23.6. 使用YAML代替Properties + +[YAML](http://yaml.org/)是JSON的一个超集,也是一种方便的定义层次配置数据的格式。无论你何时将[SnakeYAML ](http://code.google.com/p/snakeyaml/)库放到classpath下,SpringApplication类都会自动支持YAML作为properties的替换。 + +**注**:如果你使用'starter POMs',spring-boot-starter会自动提供SnakeYAML。