2 ms·
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,
by the_mitsuhiko 11y 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.)
- crdoconnor 11y agoDid you look at https://pypi.python.org/pypi/ruamel.yaml https://pypi.python.org/pypi/ruamel.yaml ?
- the_mitsuhiko 11y agoNope. Did not see it. That's neat though. Would probably have done it differently in that case, but no real reason to switch now.
- pkd 11y agoTOML? It was made because YAML was too complex.