3 ms·
Agreed, so use JSON for data exchange and TOML for configuration. YAML isn't all that great for data exchange either. In the cases where you have a tool that r
by thayne 5y ago
Agreed, so use JSON for data exchange and TOML for configuration. YAML isn't all that great for data exchange either.
In the cases where you have a tool that require json or yaml, you could use something like cue, dhall, or jsonnet, and convert it into json (or yaml). Unfortunately, that's a little tricky when your build cinfiguration itself has to be in yaml, as is the case for github actions, travis-ci, etc.