摘要
JSON具有简洁和易于使用的优点被认为是理想的数据交换语言,在Web开发中得到广泛应用,本文详细讨论在浏览器脚本和服务器代码中处理JSON格式数据的方法,并对处理中文字符的方法做了简要说明。
JSON is considered ideal for data-interchange language with the advantage of simplicity and easy to use.JSON is widely used in web development. This paper discusses methods of browser script and server code to deal with JSON formatted data in detail,and introduces how to deal with Chinese characters briefly.