News for hackers. Stuff that matters.
Re:Goodbye Hjson by malkia on Friday September 14, 2018 @03:37PM (#17990227)
How many folks are familiar with http://jsonnet.org/ - there are two implementations:

- One in go - https://github.com/google/go-jsonnet

- One in C++ - https://github.com/google/jsonnet

AFAIK, ksonnet is the primary user - https://ksonnet.io/ - which to any ex-googler be the more familiar way of dealing with the borg configs.

HJSon seems nice, as once in a while how to put a comment in JSON comes, and everyone starts bike-shedding their favourite solution, that leaves lots questions... of compatibility. For example, we tend to use "_comment": "", but I know that's bound to break somewhere, soon or later.

There is also https://json5.org/

Re:Goodbye Hjson by fajran on Saturday September 15, 2018 @04:25AM (#17993523)
We use jsonnet at work to define almost all of our k8s config. With it we can write a base config and extend it to be more environment (prod, staging, integration test) specific. Very helpful to avoid copying and pasting configs to multiple places