JSON vs YAML

JSON to transfer data, YAML to write configuration files.
Prove me wrong.

Attached: json_yaml.png (549x349, 29K)

YAML looks more prettier and therefore better
/thread

YAML can't be minified

>more prettier
>threading your own post
Worthless opinion anyway

Attached: IMG_20180911_022601.jpg (580x581, 39K)

Json.
I have never used yml

Attached: mustafa-kemal-ataturk-20968109-1-402.gif (300x300, 54K)

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?