3 ms·
> XML was designed for documents; JSON for data structures. JSON wasn't even designed for anything. It's literally the necessary and sufficient part of JavaScr
by locknitpicker 9mo ago
> XML was designed for documents; JSON for data structures.
JSON wasn't even designed for anything. It's literally the necessary and sufficient part of JavaScript that you could pass to an eval() to get a data structure out. It required zero tooling and even third-party module to hit the ground running.
- wvenable 9mo agoAs Douglas Crockford says: JSON was discovered, not invented.
- lighthouse1212 9mo ago[dead]