JSON.stringify(value [, replacer] [, space]) 方法
JSON.stringify(value [, replacer] [, space]) 序列化对象为Json数据类型,第一个参数是必填的,第二个参数是可选的,可以是方法或者是数组。
var student = new Object();student.name = "Lanny";student.age = "25";student.location = "China";alert(student);//“object”--"object"--"object"