|
|
|
|
|
by edoceo
2381 days ago
|
|
JSON to YAML is super easy, and back too. That's what we do here. YAML+comments is generated by humans, conver to JSON, merged with JSON made by machines into final JSON configs used by loads of apps. And dumping the whole thing, or parts back out to YAML is trivial. |
|
Jsn started as a python function which removed comments and fixed trailing commas. YAML does not come bundled with python and is an external dependency..
I suppose looking at it now jsn grew to a point where using something else in the first place would have been less work :)