JSON to transfer data, YAML to write configuration files.
Prove me wrong.
JSON vs YAML
YAML looks more prettier and therefore better
/thread
YAML can't be minified
>more prettier
>threading your own post
Worthless opinion anyway
Json.
I have never used yml
Json all the way, fuck everything else and especially xml
YAML is an utter shitshow. Its syntax only looks simple at first, but it's a mess of special cases and traps. It's whitespace-dependent and hard to parse safely. All in all, JSON is better as a config language just by the virtue of not being YAML.
>It's whitespace-dependent
That's a good thing.
"No"
if you're using js, just use js to write your config files. that way you can have comments and shit
What's with the quotes? That's also a problem with JSON. You already have the colon to separate the name from the value. Why do you need those extra quotes?