Optimization Simulation of XML Performance Based on JSON
Can Cui · Communications technology · 2009
To solve the problems in data load format XML of AJAX technology for using more system resource, being hard to parse for the browers which has a low performance, as it parses documents using DOM(Document Object Model), a even more light-weight data-interchange format JSON(JavaScript Object Motation) is explored, which is supportted by JavaScript, and as compared to XML.In this paper, the advantage of JSON as the substituting format of XML's analyzed, and the complexity of parsing documents is reduced with DOM as a data format of AJAX, the supporting JavaScript in a more effective way, and improving the speed of page rendering greatly.Experiment indicates that JSON has a much better performance than XML in AJAX.