matteobaccan / owner

Get rid of the boilerplate code in properties based configuration.
https://matteobaccan.github.io/owner/
BSD 3-Clause "New" or "Revised" License
917 stars 213 forks source link

Support for scala-like configuration (HOCON) #65

Open asereda opened 10 years ago

asereda commented 10 years ago

HOCON format seems to be a viable alternative to JSON notation for java/scala projects. It would be interesting to see if typesafe config can be integrated with this project (at least at syntax level)

lviggiano commented 10 years ago

I'll learn about HOCON ASAP. From Jan, I'll have more time to work on OWNER again.

gembin commented 10 years ago

+1

kzarzycki commented 9 years ago

+1 ! Scala is so popular recently, together with Typesafe Config. But Typesafe Config does not feature dynamic configuration. Aeonbits owner could be a great alternative, guaranteeing you don't have to convince everyone around to change the config files...

martypitt commented 9 years ago

+1

PreXident commented 5 years ago

Is there any new info about implementing this feature? I am considering using OWNER, but HOCON seems to be very flexible when defining the configuration.

lviggiano commented 5 years ago

Hi.

There is no planning, since I am not actively working on OWNER since quite some time. I started working for a software company now, and this is a good news since I started coding again since years I was off. But HOCON would be not in my top priority. If you know how to read a HOCON file and map it to a java.util.Properties, it should be easy to implement a custom loader. If you want you can then send me a pull request and I'll evaluate to merge it (check the "how to contribute", because we need unit tests and documentation to accept a new feature)