Hacker News new | ask | show | jobs
by pzmarzly 1209 days ago
> In fact, I'd prefer if the tools you mentioned used something else besides yaml.

To be fair, most of the popular DevOps tools can work with JSON instead of YAML just fine. And JSON can be easily generated from almost anywhere. I don't think you can work with systemd syntax as easily.

1 comments

Out of curiosity, do you know any tools that can't use JSON but can use YAML? JSON is supposed to be valid YAML.
Every YAML parser supports JSON (maybe modulo a couple of weird Unicode chars), but YAML also has features (tags, start/end document) that you can’t express in JSON, so it depends on whether the tool relies on seeing those.