mention new include syntax in the README

This commit is contained in:
Havoc Pennington 2012-04-13 10:08:39 -04:00
parent 9b7d2a6469
commit 06d6fc5ee3

View File

@ -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