Application of JSON in Ajax data exchange
Chan Li · Journal of Xi'an Shiyou University · 2011
The traditional XML transmission format is mainly used in the development and application of the Web programs based on (Asynchronous JavaScript And XML)technology.The data format will engender not only large quantities of data redundancy but also other complex problems.Compared with the XML,the JSON is selected as the data transmission format and is used for analyzing the JSON data.Using JSON transmission format can shield the complexity of analyzing XML documents using DOM,which not only shorten the data transmission time but also optimize the data transmission efficiency in the Web application system.An Ajax + JSON + jQuery transmission scheme can put forward,and cases prove that this scheme can improve the data transmission efficiency of Web application system and reduce the response time of client requests.