4 ms·
I do think that something that's enough more than JSON to make it more usable for config (comments, imports, reference env vars, etc) would be great to have, bu
by femto113 6y ago
I do think that something that's enough more than JSON to make it more usable for config (comments, imports, reference env vars, etc) would be great to have, but I don't see the two goals (config and templates) of dnjs as particularly compatible. HOCON[1] is the best attempt at a "better JSON" that I've seen but it's cross support of Java properties syntax makes it a little weird to use in a JavaScript centric stack.
[1] https://github.com/lightbend/config/blob/master/HOCON.md https://github.com/lightbend/config/blob/master/HOCON.md