4 ms·
Are all features available when writing the files in JSON format? YAML is a catastrophe. I have spent hours trying to fix a whitespace error in a YAML file tha
by smt88 6y ago
Are all features available when writing the files in JSON format?
YAML is a catastrophe. I have spent hours trying to fix a whitespace error in a YAML file that silently changed the meaning of my document.
I'm interested in this but absolutely wouldn't gamble my time on it unless I could do everything with JSON-formatted YAML.
- SamTolmay 6y agoCan completely understand. We support both YAML and JSON. This isn’t documented that well, so we can add a section in the docs on that.
- gervwyk 6y agoHi, Yes. you can switch over to JSON as you like. You can write everything in JSON or mix it up if that is useful. Like reference JSON files in your YAML using the _ref operator. Hope you give it a try!
- dikaio 6y agoCouldn’t a code formatter solve your issue?
- smt88 6y agoNo