From 314e26663bc5ae65279a73807d24c867f5f8118b Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Sun, 8 Feb 2015 22:03:12 +0800 Subject: [PATCH] Update 23.6. Using YAML instead of Properties.md --- .../23.6. Using YAML instead of Properties.md | 5 +++++ 1 file changed, 5 insertions(+) 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。