4 ms·
Another potential option, is Lightbend Config https://github.com/lightbend/config https://github.com/lightbend/config It adds includes/inheritance, substituti
by 75dvtwin 8y ago
Another potential option, is Lightbend Config
https://github.com/lightbend/config https://github.com/lightbend/config
It adds includes/inheritance, substitutions, unit of measure parity , comments , and few other things -- on top of JSON.
does not have if-logic, loops, or arbitrary functions, however.
On plus side, the library is available in a number of languages, easily embeddable. And there is an IntelliJ plugin for it, to color the syntax of the config files.
- debug-desperado 8y agoHOCON is a very nice configuration format that should be preferred to JSON and YAML - it really deserves more adoption. I always reach for Lightbend Config on non-Spring projects.
- dtech 8y agoIt has a pretty nice format, but I've run into it's limitations more than once. Array indexing is not possible in the config or library, and nested-environmental variable substitution is not possible (e.g. $ACCESS_KEY_{$ENV_NAME})