Programming Tips - Alternatives to JSON

Date: 2020mar22

Q.  Alternatives to JSON

A.  JSON is really unfriendly for human editing
- Overly verbose (eg you need to quote variable names - "name":"Dave")
- Only doublequotes, no single quotes (which makes quoting text with double quotes messy)
- No comments
- Trailing commas are strictly forbidden

If you are making a file that will be seen or editing by humans
consider something better.

Relaxed JSON (RJSON)




YAML (Not so great because whitespace is significant)

Markdown (But most for documents)