This is something that struck me as odd years ago when I first saw JSON. It's a key=value format but what was weird to me was the use of double-quotes around the key name.
instead of
There's a tiny bit of wasted space in those quotes. That's a major quirk, I think. One thousand fields with two thousand bytes of wasted space.
One thing that I think JSON does well is properly represent arrays with square brackets [ like these ].
Edit: I used an equal sign instead of a colon.
"key":"value";
instead of
key:"value";
There's a tiny bit of wasted space in those quotes. That's a major quirk, I think. One thousand fields with two thousand bytes of wasted space.
One thing that I think JSON does well is properly represent arrays with square brackets [ like these ].
Edit: I used an equal sign instead of a colon.