Commit da26c614 authored by Dave Syer's avatar Dave Syer

Update YAML refs in docs

parent 8778e827
...@@ -954,8 +954,9 @@ server: ...@@ -954,8 +954,9 @@ server:
``` ```
Create a file called `application.yml` and stick it in the root of Create a file called `application.yml` and stick it in the root of
your classpath, and also add `snake-yaml` to your classpath (Maven your classpath, and also add `snakeyaml` to your classpath (Maven
co-ordinates `org.yaml:snake-yaml`). A YAML file is parsed to a Java co-ordinates `org.yaml:snakeyaml`, already included if you use a
Spring Boot Starter). A YAML file is parsed to a Java
`Map<String,Object>` (like a JSON object), and Spring Boot flattens `Map<String,Object>` (like a JSON object), and Spring Boot flattens
the maps so that it is 1-level deep and has period-separated keys, a the maps so that it is 1-level deep and has period-separated keys, a
lot like people are used to with `Properties` files in Java. lot like people are used to with `Properties` files in Java.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment