It's a primary goal of JSON, it's fair to question whether it's successful at it. Personally, I'd much rather write TOML or S expressions. I don't like YAML at all, the whitespace sensitivity drives me nuts.
It's a primary goal of JSON, it's fair to question whether it's successful at it. Personally, I'd much rather write TOML or S expressions. I don't like YAML at all, the whitespace sensitivity drives me nuts.
Notwithstanding which, I too would prefer to interchange data via S-expressions.
+1 on those S-expressions.
My point being; aspects that seem like irritating omissions now, may have been editing decisions instrumental in the overall adoption of the standard.
We can say the underlying idea of taking javascript's object syntax was a discovery, but he refined it between discovery and release.
TOML is just plain unreadable to me when I have to figure out what I'm looking at: I convert it to YAML to both read and write it when I have to add new lists/maps.
Give me YAML or JSON at least they make sense.