JSON produces smaller documents, and JSON is certainly easier to use in JavaScript. XMLHttpRequest parses XML documents for you whereas you have to manually parse JSON, but is parsing JSON slower than parsing XML?
Parsing JSON was 2 -10 times faster than parsing XML!
See the results Benchmarking AJAX ( JSON vs XML )
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment