3 ms·
I'd love to read the full story there - how JSON got so much momentum behind it. Do you know of a good overview blog post?
by edraferi 10y ago
I'd love to read the full story there - how JSON got so much momentum behind it. Do you know of a good overview blog post?
- kentonv 10y agoIn my view, JSON beat XML because it matched the way we structure data in code: records and lists. XML, meanwhile, wants us to represent data structures as text with tags, which isn't how we represent data internally at all, requiring laborious translation steps. The fact that it was "built-in" to Javascript, of course, helped, by allowing it to compete on even footing (XML is also built in via XMLHttpRequest).