The following stackoverflow page has intresting comments about json vs yaml.
what-is-the-difference-between-yaml-and-json
JSON:
- web friendly
- fast processing compare to YAML
- wider acceptance
- lack of comments is major drawback
- Good for data interchange handling
YAML
- human eye friendly (no ” {} )
- good for configuration files
- super set of json