JSON.stringify()——JS转JSON字符串
JSON.stringify()
JSON 通常用于与服务端交换数据。
在向服务器发送数据时一般是字符串。
我们可以使用 JSON.stringify() 方法将 JavaScript 对象转换为字符串。
语法
JSON.stringify(value[, replacer[, space]])
参数说明:
- value:
必需, 一个有效的 JSON 字符串。
- replacer:
可选。用于转换结果的函数或数组。
如果 replacer 为函数,则 JSON.stringify 将调用该函数,并传入每个成员的键和值。使用返回值而不是原始值。如果此函数返回 undefined,则排除成员。根对象的键是一个空字符串:""。
如果 replacer 是一个数组,则仅转换该数组中具有键值的成员。成员的转换顺序与键在数组中的顺序一样。当 value 参数也为数组时,将忽略 replacer 数组。
- space:
可选,文本添加缩进、空格和换行符,如果 space 是一个数字,则返回值文本在每个级别缩进指定数目的空格,如果 space 大于 10,则文本缩进 10 个空格。space 有可以使用非数字,如:\t。
JavaScript 对象转换
例如我们向服务器发送以下数据:
var obj = { "name":"runoob", "alexa":10000, "site":"www.runoob.com"};
我们使用 JSON.stringify() 方法处理以上数据,将其转换为字符串:
var myJSON = JSON.stringify(obj);
myJSON 为字符串。
我们可以将 myJSON 发送到服务器:
var obj = { "name":"runoob", "alexa":10000, "site":"www.runoob.com"};
var myJSON = JSON.stringify(obj);
document.getElementById("demo").innerHTML = myJSON;
JavaScript 数组转换
我们也可以将 JavaScript 数组转换为 JSON 字符串:
var arr = [ "Google", "Runoob", "Taobao", "Facebook" ];
var myJSON = JSON.stringify(arr);
myJSON 为字符串。
我们可以将 myJSON 发送到服务器:
var arr = [ "Google", "Runoob", "Taobao", "Facebook" ];
var myJSON = JSON.stringify(arr);
document.getElementById("demo").innerHTML = myJSON;
异常
解析数据
JSON 不能存储 Date 对象。
JSON.stringify() 会将所有日期转换为字符串。
var obj = { "name":"Runoob", "initDate":new Date(), "site":"www.runoob.com"};
var myJSON = JSON.stringify(obj);
document.getElementById("demo").innerHTML = myJSON;
结果:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAl0AAACHCAIAAACj2nscAAAeH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wzMQfAR1RUSbzKaDMojvjExPCZN5/WtQlu5Wl+27b26rdleNmZdaPpxV3qqYDfz1UVDyRqblG3lUCTIqnSxkIUCnFoUezwA4AcOBufSVH1vOPghAlkE4KwBWSxPBd9f9F0aAwAAAKcefJcYAAAAEEAXAQAAAAF0EQAAABBAFwEAAAABdBEAAAAQQBcBAAAAAXQRAAAAEEAXAQAAAAF0EQAAABBAFwEAAAABdBEAAAAQQBcBAAAAAXQRAAAAEEAXAQAAAAF0EQAAABBAFwEAAAABdBEAAAAQQBcBAAAAAXQRAAAAEEAXAQAAAAF0EQAAABBAFwEAAAABdBEAAAAQQBcBAAAAAXQRAAAAEEAXAQAAAAF0EQAAABBAFwEAAAABdBEAAAAQQBcBAAAAAXQRAAAAEEAXAQAAAAF0EQAAABBAFwEAAAABdBEAAAAQQBcBAAAAAXQRAAAAEEAXAQAAAAF0EQAAABBAFwEAAADB/wO0WRQcSdTO/AAAAABJRU5ErkJggg==" alt="" />
解析函数
JSON 不允许包含函数,JSON.stringify() 会删除 JavaScript 对象的函数,包括 key 和 value。
var obj = { "name":"Runoob", "alexa":function () {return 10000;}, "site":"www.runoob.com"};
var myJSON = JSON.stringify(obj); document.getElementById("demo").innerHTML = myJSON;
结果:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAckAAABlCAIAAACp9I8HAAAZhElEQVR4nO2dTWgc15bH764WTWi8aGbRGCGM0UKIXrQWxiYEi0FhEAgLwmsCKh5MEyMP0SJiQkAzWHkLMdRGs4jME4Gn96Afz8ijgWYUBeKxQEGMFDK2QbgHZYwdE3eYabxohtCL2tUs6uuce8+tj+7bVjs+v5Wtrrp17te/zj33o4THMAzDmEactwEMwzC/QlhbGYZhzMPayjAMYx7WVoZhGPOwtjIMw5iHtZVhGMY8rK0MwzDmYW1lGIYxD2srwzCMeVhbGYZhzMPayjAMYx7WVuZ10LRFgN3Ev7in6xVRKI2NjV2ZX/3XZ8N+vvz4dLp3F6zg5mubz82a1XIqYblUnFbCh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MTZyyY6oqfLdkUlVwwhRJfIFmb+UKlZIgI5JvUGPSNJN0Uk9r6lgqrN+BcFgAWveICqsONvH6rudkbORv6uG4G/zxDQSjNSnFVlLwlN3Ltbf0B9VXzTNJvHU53CQsnlFbkwFKNBvwd+KWEk51+IYTI4RvXGPS1lGqKQW1VKu7tYVjaCotTCkTlrTb92GZA1NYhWarxZDN3J7L5oexrB3n6wJc5t1V5qKYClVwOwwD0LNuW9MS2aWGz7bjnxreqgdJMF8r3JEU+w4tGuDHk/AVn2Zi2vr1u61C0lZDGQbRVmdT0Wk4lpbrUeQXdRVQPkoIbclYydyfVdNUu2cmXuw9ZfEbaNFgYIOVEvlft9NTQJKW0M9odBhykEiFqk64N4iGZLsQ1o3UQR7sxUL4B+jnXOgHW1sEYhrZ6cSMQ0ehrAG2VEszeQ/vQVqV9S2PmXMNAwnTKJhy/JMJ8lWilpS4JhUxNGj04qWPFF8ZXYavTbcqorRkUR5ui8hLOcWG6tnqj3xiIZg+vTehSsimsrYOTtueVeSN5i6NczEjB2hoxvJkj5vXB0sqMBm+xtFLnt2YdvDEMw+h5y5WEz8ZmGIYxD2srwzCMeVhbGYZhzMPayjAMYx7WVoZhGPOwtjIMw5iHtZVhGMY8rK0MwzDmYW1lGIYxD2srwzCMeVhbGYZhzMPayjAMYx7WVoZhGPOwtjIMw5iHtZVhGMY8rK0MwzDm+X/jHMsbK7aq6QAAAABJRU5ErkJggg==" alt="" />
我们可以在执行 JSON.stringify() 函数前将函数转换为字符串来避免以上问题的发生:
var obj = { "name":"Runoob", "alexa":function () {return 10000;}, "site":"www.runoob.com"};
obj.alexa = obj.alexa.toString();
var myJSON = JSON.stringify(obj); document.getElementById("demo").innerHTML = myJSON;
结果:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlwAAACyCAIAAAAYr4Y8AAAgAElEQVR4nO2dT2gcSb7n81aHYhA+FHsoGiGM8UGIOkgH46ZpLBYPi0DY0Dwx4OTBijbuZXRosbMD2sWadzBL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6UcGTM+qChaJU8O1aAy2lyXG10xTcUiWs6k1CmKUEQAToqRiqLDJDp+ZqyQZHUqTrwKGagFbh+G10xxNHZO2ksjYpRmgnKU3jfmpVtel6aMpnLkcmjYI+wrinyh2Tchp0rjcLgc/K77JKVGUVTrAwAwLkb7SoZ2kbGI5p81k0KMjuNhhTp3n9IYTfbbbSHrIw6DoBOGHUUIQi3T3jeW14nFD0NLGZtEUZcFb1FkC033CXPOUdpQfNcUK04VTV5na+7d7RATRQBOjNGKorL3gN9qYv6ZmjNWI40PK3f7iaLbGEl7Ec0rdobMit2I5HlHmjiDzsHvJWWcs9435tcV56uzClg/pbLppYIojmL3qXoDDVEPrtLuU4giAKeboUWRXyrT5wb6db+fpfBNu1u4h53zNg4vWyRHqYkgebhIuqrVlgyxkXmYR6dUVL5Rj1rbS+kjirTAOuItvgqiqIRg9nryrY/uFWKD0F+UMK0bO5ICUQTg9HNGv5KhLX15iSJWcsBEAFEE4MQ4o6IYh9BEcFqBJgJwcpxRUSTo7jEAJhVvjzkAYBT8FEQRAAAA8AKiCAAAAAggigAAAIAAoggAAAAIIIoAAACAAKIIAAAACCCKAAAAgACiCAAAAAggigAAAIAAoggAAAAIIIoAAACAAKIIAAAACCCKAAAAgACiCAAAAAggigAAAIAAoggAAAAIIIoAAACAAKIIAAAACCCKAAAAgACiCAAAAAggigAAAIAAoggAAAAIIIoAAACAAKIIAAAACP4/GN+LqliSQ8QAAAAASUVORK5CYII=" alt="" />
JSON.stringify()——JS转JSON字符串的更多相关文章
- JSON对象和字符串之间的相互转换JSON.stringify(obj)和JSON.parse(string)
在Firefox,chrome,opera,safari,ie9,ie8等高级浏览器直接可以用JSON对象的stringify()和parse()方法. JSON.stringify(obj)将JSO ...
- 小tips:JSON对象和字符串之间的相互转换JSON.stringify(obj)和JSON.parse(string)
在Firefox,chrome,opera,safari,ie9,ie8等高级浏览器直接可以用JSON对象的stringify()和parse()方法. JSON.stringify(obj)将JSO ...
- JSON基础 JS操作JSON总结
JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式,采用完全独立于语言的文本格式,是理想的数据交换格式.同时,JSON是 JavaScript 原生格式,这意 ...
- js对象序列化JSON.stringify()与反序列化JSON.parse()
草稿: parse用于从一个字符串中解析出json对象,如 var str = '{"name":"huangxiaojian","age" ...
- 字符串操作函数:JSON.parse()与JSON.stringify()的区别,字符串转数组 str.split(','),数组转字符串String(),以及对象拼接合并Object.assign(),数组拼接合并concat()
1.JSON.parse() 把字符串转化为 json 对象 例如 arr={ , "site":"www.runoob.com" } var obj = J ...
- 有了JSON.stringify(),处理json将变得更简单!!
之前处理json 需要拼接json字符串,但是,如果用上JSON.stringify()的话,忘了json语法以没关系了..... @{ ViewBag.Title = "GetStr&qu ...
- 《项目经验》--后台一般处理程序向前台JS文件传递JSON,JS解析JSON,将数据显示在界面--显示在DropDownList 或 显示在动态创建的table中
http://blog.csdn.net/mazhaojuan/article/details/8599167 先看一下我要实现的功能界面: 这篇文章主要介绍:后台一般处理程序把从数据库查找的数据,转 ...
- C#返回Json,js解析Json,并添加到select标签中
后台: List<Student> list=GetAll();//id name string json = new JavaScriptSerializer().Serialize(l ...
- php生成json和js解析json
php生成json $value=array("name"=>"dfas");echo json_encode($value); js解析json var ...
随机推荐
- javascriptDOM编程
DOM - Document Object Model,它是W3C国际组织的一套Web标准,它定义了访问HTML文档对象的一套属性,方法和事件. <html> <head> & ...
- [讲解]sql except和intersect运算符(比拟两个或多个select语句的结果并前去非重复值)
图 1 UNION 中若有重复的行,会被移除,只留下一个 1.简介 EXCEPT和INTERSECT运算符使您可以比较两个或多个SELECT语句的结果并返回非重复值. 2.区别 EXCEPT运算符返回 ...
- Android内存泄漏第一课【转】--------(使用单例模式造成的内存泄漏)
使用单例模式造成的内存泄漏 Android的单例模式在我们项目开发中经常会用到,不过使用的不恰当的话也会造成内存泄漏.因为单例的静态特性使得单例的生命周期和应用的生命周期一样长, 这就说明了如果一个对 ...
- HDU4045_Machine scheduling
题意为要你从编号为1-n的所有机器中间选择出r个机器且每一个机器的编号只差不小于k-1,然后将选择的r个机器分为m组有多少种方案. 其实这题目的两个步骤是相互独立的. 总共的方案数等于选择的方案数乘以 ...
- UVA11625_Lines of Containers
题意很简单,给你一个n*m的矩阵,现在问你这个矩阵能否变为标准矩阵(即数字从小到大),如果能最少需要几步呢? 其实是个赤果果的水题.记得暑假安叔也出过一个类似的题目,那个好像是在codeforces上 ...
- Android 分Dex (MultiDex)
需要分Dex的理由想必大家都知道了.正是在ART以前的Android系统中,Dex文件对于方法索引是用一个short类型的数据来存放的.而short的最大值是65535,因此当项目足够大包含方法数目足 ...
- vue使用过程中的一些小技巧
这些也是自己平时项目中遇到过的一些问题,看到有人整理了出来,也就转载保存一下 文章内容总结: 组件style的scoped Vue 数组/对象更新 视图不更新 vue filters 过滤器的使用 列 ...
- DAVY的神龙帕夫——读者的心灵故事|十二橄榄枝的传说
再次听Puff的时候我想起了Davy. 文理分班后我坐到了他后面.Davy天生一头黄毛,黑头发”not even one”.上课时他若不是肆无忌惮地舒开四肢呼呼大睡,便是如受惊一般伸长他的细脖子,直挺 ...
- Educational Codeforces Round 33 (Rated for Div. 2) 题解
A.每个状态只有一种后续转移,判断每次转移是否都合法即可. #include <iostream> #include <cstdio> using namespace std; ...
- 解决:warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;找到 MSIL .netmodule 或使用 /GL 编译的模块;正在。。;LINK : warning LNK4075: 忽略“/INCREMENTAL”(由于“/LTCG”规范)
原文链接地址:https://www.cnblogs.com/qrlozte/p/4844411.html 参考资料: http://blog.csdn.net/laogaoav/article/de ...