Once every blue moon somebody posts about idiosyncrasies of YAML. I think they should look into passing JSON whenever there is YAML expected. The YAML spec mentions that
> YAML can therefore be viewed as a natural superset of JSON, offering improved human readability and a more complete information model
> Technically, YAML therefore complies with the JSON spec
Most valid JSON can be fed to YAML parsers that support YAML 1.2
You're not alone. YAML generally looks neat in small blocks. It quickly looks unwieldy when you have to do many nested blocks. JSON at least keeps the 'visual aids' even in a plaintext editor.
3 comments
[ 0.26 ms ] story [ 20.8 ms ] thread> YAML can therefore be viewed as a natural superset of JSON, offering improved human readability and a more complete information model
> Technically, YAML therefore complies with the JSON spec
Most valid JSON can be fed to YAML parsers that support YAML 1.2
Is this a late April Fools joke?
I can't be the only one who finds YAML cludgy and unreadable, especially compared to JSON.