3 ms·
The reason is easy of use. XML means SAX (difficult to work with for most people), or DOM (insane API). JSON was just: var settings = eval(json-string); Done,
by jbverschoor 3y ago
The reason is easy of use. XML means SAX (difficult to work with for most people), or DOM (insane API).
JSON was just: var settings = eval(json-string);
Done, nothing else, just simple access.
It's all about API design. This is also why Stripe even exists