Y
Hacker News
new
|
ask
|
show
|
jobs
by
the_mitsuhiko
3835 days ago
YAML is really quite complex. I like it in general but it's impossible to dump the data out without destroying the structure of the file (throw away comments, change whitespace, formatting style etc.)
2 comments
crdoconnor
3835 days ago
Did you look at
https://pypi.python.org/pypi/ruamel.yaml
?
link
the_mitsuhiko
3835 days ago
Nope. Did not see it. That's neat though. Would probably have done it differently in that case, but no real reason to switch now.
link
pkd
3835 days ago
TOML? It was made because YAML was too complex.
link