ficus
ficus copied to clipboard
Scala-friendly companion to Typesafe config - moved to https://github.com/iheartradio/ficus
I have an example like this: ``` "load embedded config with ficus" in { import net.ceedubs.ficus.readers.ArbitraryTypeReader._ import net.ceedubs.ficus.Ficus._ val config = ConfigFactory.parseString( """a { value = 2 } |b {...
This is a draft PR to implement #7 using [Guava's `CaseFormat` class](http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/base/CaseFormat.html) for the camelCase to hyphen-case conversion. Created separate `HyphenCaseArbitraryTypeReader` trait and object (existing `ArbitraryTypeReader` API/behavior is unchanged) that...
Ficus seems awesome at reading config files, but what about writing or updating them? There is nearly no reference to how it writes back.
I would be helpful if ArbitraryTypeReader offered a mode/setting that adds a runtime check that all keys for a Config object were mapped into the instantiation parameters successfully and that...
[HOCON specification](https://github.com/typesafehub/config/blob/master/HOCON.md#hyphen-separated-vs-camelcase) recommends `hyphen-separated` settings over `camelCase` Using case classes like the following works ``` case class MySetting(`hyphen-separated-setting`: String) ``` but it is a bit clumsy in the source code....