HOCON.rs License: MIT Build Status Coverage Status Realease Doc Crate

Parse HOCON configuration files in Rust

The API docs for the master branch are published here.

Usage

```rust let s = r#"{"a":5}"#; let doc = Hocon::loadfromstr(s).unwrap();

asserteq!(doc["a"].asi64().unwrap(), 5); ```

```rust let s = r#"{"b":5, "b":10}"#; let doc = Hocon::loadfromstr(s).unwrap();

asserteq!(doc["b"].asi64().unwrap(), 10); ```

Status

https://github.com/lightbend/config/blob/master/HOCON.md