Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
da26c614
Commit
da26c614
authored
Feb 18, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update YAML refs in docs
parent
8778e827
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
howto.md
docs/howto.md
+3
-2
No files found.
docs/howto.md
View file @
da26c614
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment