diff options
author | Ryan Leckey <leckey.ryan@gmail.com> | 2017-09-13 12:05:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-13 12:05:22 -0700 |
commit | f70a2d406387fb338f842ba22924d3076da97e22 (patch) | |
tree | 164597d8e40017ca690c259c75eacee9134f6f5d /README.md | |
parent | 13151213a7b368296c616e0a770fb2c238fff1a0 (diff) | |
parent | 9826b2cda730116e148120dafe0fa89bd389626e (diff) |
Merge pull request #44 from lemonrock/hjson
Added HJSON (Human-Readable JSON) as a config file format
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,7 @@ - Set defaults - Set explicit values (to programmatically override) - - Read from [JSON], [TOML], and [YAML] files + - Read from [JSON], [TOML], [YAML] and [HJSON] files - Read from environment - Loosely typed — Configuration values may be read in any supported type, as long as there exists a reasonable conversion - Access nested fields using a formatted path — Uses a subset of JSONPath; currently supports the child ( `redis.port` ) and subscript operators ( `databases[0].name` ) @@ -18,6 +18,7 @@ [JSON]: https://github.com/serde-rs/json [TOML]: https://github.com/toml-lang/toml [YAML]: https://github.com/chyh1990/yaml-rust +[HJSON]: https://github.com/hjson/hjson-rust ## Usage @@ -27,6 +28,7 @@ config = "0.6" ``` - `json` - Adds support for reading JSON files + - `hjson` - Adds support for reading HJSON files - `yaml` - Adds support for reading YAML files - `toml` - Adds support for reading TOML files (included by default) |