mirror of
https://github.com/lightbend/config.git
synced 2025-01-28 21:20:07 +08:00
mention new include syntax in the README
This commit is contained in:
parent
9b7d2a6469
commit
06d6fc5ee3
@ -222,6 +222,10 @@ tree that you could have written (less conveniently) in JSON.
|
||||
`bar.json` into the object `foo`
|
||||
- include with no file extension includes any of `.conf`,
|
||||
`.json`, `.properties`
|
||||
- you can include files, URLs, or classpath resources; use
|
||||
`include url("http://example.com")` or `file()` or
|
||||
`classpath()` syntax to force the type, or use just `include
|
||||
"whatever"` to have the library do what you probably mean
|
||||
- substitutions `foo : ${a.b}` sets key `foo` to the same value
|
||||
as the `b` field in the `a` object
|
||||
- substitutions concatenate into unquoted strings, `foo : the
|
||||
|
Loading…
Reference in New Issue
Block a user