JSON.stringify 语法实例讲解 字符串
语法:
JSON.stringify(value [, replacer] [, space])
var student = new Object(); student.name = "Lanny"; student.age = "25"; student.location = "China"; var json = JSON.stringify(student); alert(student);
转之:http://www.jb51.net/article/29893.htm