HOCON.rs
Parse HOCON configuration files in Rust
The API docs for the master branch are published here.
Usage
let s = r#"{"a":5}"#;
let doc = load_from_str.unwrap;
assert_eq!;
let s = r#"{"b":5, "b":10}"#;
let doc = load_from_str.unwrap;
assert_eq!;
Status
https://github.com/lightbend/config/blob/master/HOCON.md
- parsing JSON
- comments
- omit root braces
- key-value separator
- commas are optional if newline is present
- whitespace
- duplicate keys and object merging
- unquoted strings
- multi-line strings
- value concatenation
- path expressions
- path as keys
- substitutions
- includes
- conversion of numerically-indexed objects to arrays