jkcfg / jk

Configuration as Code with ECMAScript
https://jkcfg.github.io
Apache License 2.0
404 stars 30 forks source link

TOML support #361

Open jaxxstorm opened 4 years ago

jaxxstorm commented 4 years ago

Could jkcfg generate TOML files, or does it already support them?

squaremo commented 4 years ago

It doesn't support TOML at present. I believe TOML translates directly to hashes, lists and scalars, so it ought to be possible to round-trip values through TOML.

(Implementation note: https://toml-to-json.matiaskorhonen.fi/ might be a useful triangulation)