问题描述:后台需要传递给前台一些数据,用于页面数据显示,因为是一些Lable标签,所以数据传递到前台需要解析。

思路:因为数据比较杂乱,所以我选择传递的数据类型是Json格式,但是数据展示时需要解析成单个的字符串,赋值给Lable标签

一、JSON字符串解析

Json格式字符串(键/值)

{"lblTime":"2016-11-04 14:15:26","lblArea":"B包头地区(新)","lblTelevisionLogStoreName":"","lblRecordCount":""}

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAY4AAACTCAIAAAAWWWnaAAAOlklEQVR4nO2dP08rOxqH77fhO/ARKJFS8wUoKahTIyGoU4FEQXMqEBUSNKA0qbYKRwghhFa6ucVFu9p79uzxFp4/tsevx05mbuLM84iGZOJMJvjhtWfm599+/Pjx/fv3f/zzr+9//Pfjz5+//+vnn//5379//Prr56+fv9QvpX4pAIA18xuqAoDNp1AVAMAmQ1UFABmAqgAgA1AVAGQAqgKADOhBVR/fjkYSR98++vgUALDldK6qj29Hso/cJ6dno9FoNDqbLr3/ADAIOlfV9CxkHuvZ6RlVFgBEsUZVBesvAAADVAUAGdCTqopJKBv9OKoCgGTWWFWFtwQAqFmLqvTlDHgKAGJZb1XFABAAoujjuirZVZadmKsCgFjWeLU6qgKAWNZ4DyCqAoBY1nm7MpNVABDJWpMVyqEi5wIBIAwhMACQAagKADIAVQFABqAqAMgAVAUAGYCqACADUBUAZECeqnp9vto5vZos1P3t+c7p3X3x8Mvx6fmO/rl9qbee3+2cnu8/LxrNCNuHWUz3k7ZP2H+Rr+uDm72D+bv6PNm92Rt/rvLesHnw/UaQsaru7pW6vz3fuZi+Wk++HMeqyr/9/W3pr/rHsElnqpL238PX9YH+C/482b05vPwqH/882b3ZK35mT8YL3i8fysdvTh6ttp7GN3tWI9bjzaYkwu00H/cS2E/1Nj/0Pp64P6u3Y+7k3q52Shjxe1H+4yx9v2CQp6rU/E539dfnq85VVbCY7odetRqh/ffxNNZ/yl/XB/WfcvmgKvpG2YV019I9U3eMspfWXcjuD6n/zIPteB73I++nKnpvrGI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wpYCSeDzA6HMHmqqt9s9UayZUrCelc0byc2coq7t6dQxHWSKf40rgzVDN7VjziqGmR2OITJVFUhVs5WN1XlBoOIY0ZznZs6CyU1O9wbohDQpZih7ktQ8GerB7PPA0QnCtiDOCd36XG2t/tw/Tg/HHhuHLQyGFUlZKsbqrJDbKXsbafqsdpJyA4XMpvE6ILUXCoxW913EFqJVZUTGmelNZUWe0NV0MZgVJWQrS6kA4vZ28IyXKnZ4baS2lWVnKEu5lX5DkJ3WIM+Mz78/fKhGBiiKmhloKoKZqtXVZVdeojZ2/4BWmp2uLN9q6rSM9TXpCplrX83nhVVlVleoSpoZXCqishWrweA1shOzN5OqKpC2eGeCy+MxbgS2t88VRnoyak3TyRmYBEEgMGpKjqb3FrbrmVtuKXmqoQVWQxF2ts3zwBGrNNnLRsRUlX6AsvJmeJKuVPsFVRV0Mo2qaqrbHVrwShbQ2L2tnUezV0NwT1jKJYw1WnE/ecXezEbs32jJPS3L7QTUpWQfR5guUxxv49QFbSyTaoCgK0FVQFABqAqAMgAVAUAGYCqACADUBUAZACqAoAMQFUAkAGoCgAyAFUBQAb0o6rp2Wg0Go3Opp3vLwAMkh6rqukZsgKAbuhzADg9S77zHgDAB6oCgAzoU1Uf345QFQB0Qc+qoqwCgC7o+2KF6dkoPSsSAMCm76qKU4AA0AFMqwNABqAqAMgAVAUAGdCjqpiqAoCu6PUeQGoqAOgGkhUAIANQFQBkAKoCgAxAVQCQAagKADIAVQFABqAqAMgAVAUAGYCqACADUBUAZACqAoAMQFUAkAGoCgAyAFUBQAagKgDIAFQFABmAqgAgA1AVAGQAqgKADEBVAJABqAoAMgBVAUAGoCoAyABUBQAZgKoAIANQFQBkwP8BDF3sYVhdBzoAAAAASUVORK5CYII=" alt="" />

主要用函数eval对json格式字符串进行反序列化操作,然后获取节点对应的值

  var obj = eval("(" + result + ")");//eval函数对json格式字符串进行反序列化
document.getElementById("lblTime").innerText = obj["lblTime"];//obj["lblTime"]获取值
document.getElementById("lblArea").innerText = obj["lblArea"];
document.getElementById("lblTelevisionLogStoreName").innerText = obj["lblTelevisionLogStoreName"];
document.getElementById("lblRecordCount").innerText = obj["lblRecordCount"];

二、JSON字符串解析

Json格式字符串(键/[]),这种是一个键对应一个数组

{"Category":[{"categoryId":,"categoryName":"饮品","categoryImage":"/upload/yinpin.jpg"},{"categoryId":,"categoryName":"食品","categoryImage":"/upload/shiping.jpg"},{"categoryId":,"categoryName":"酒类","categoryImage":"/upload/jiullei.jpg"}]}

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnEAAAGLCAIAAAAnDlONAAAgAElEQVR4nO3dv07rytrH8XMzS9wDl0B1FCk1N7BKpE1NjYRCu1MFiSINFVFOcZCgIUpDtavwCrEQotkpzkbaxW78FjMePzN+xrGTSZw/349SLBxnPA4SvzV/PPOv/wMAACn8KwMAACmQqQAApEGmAgCQBpkKAEAaKTL18+6sG3N295ngCgAAbL/VM/Xz7iwenOGb01632+12e9OVLwsAwJZZPVOnvaqI9N6d9mi3AgD21iYztbJFCwDAjiNTAQBII1Wm2oFSnzlOpgIADsIm26nVZwIAsNs2k6nmaRsCFQCwzzbcTqXvFwCwt5I8nxoPVS9GGU8FAOyzTa6jRKYCAPbZJtf7JVMBAPtso2voM6AKANhjm92XJu8lZgYwAGD/sNcbAABpkKkAAKRBpgIAkAaZCgBAGmQqAABpkKkAAKRBpu6OuutVAQDasSOZ+ja5Pbq67c+zh9H10dX4oe36pNLgvipXoRJvFslLzgLAZu1Spo4fsuxhdH00mL6Jtx5G10dX5lUna1/Pr66PRq/rqmhDFfcVqrv/T+WeBgCANdqRTM1mY5M9b5NbkT3z/uDatPOyLMuy1/PFYbldmRq5Lw2ZCgDbblcyVTUbH11ddyZz5a35tHOVt19tVpkA9l7is6/n7rhM3NnY/0ie30r5tpDOZP42uTVvnc/cdYs2tOvvXeDz7kz235KpALDtdjlTH0bXkXB6PXc5Z0KxiEm1nSoOmrAU/7a5OxvnGelnuTzflDO47YxeZZSaiLWftedUN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I0q73SysVAHC42JcGAIA0yFQAANIgUwEASINMBQAgDTIVAIA0yFQAANIgUwEASINMBQAgDTIVAIA0yFQAANIgUwEASINMBQAgDTIVAIA0yFQAANIgUwEASINMBQAgjf8Ho+PrK5feU0MAAAAASUVORK5CYII=" alt="" />

数据取值:

var result = eval("(" + result + ")");
result.Category[].categoryId;
result.Category[].categoryName;
result.Category[].categoryImage;
result.Category[].categoryId;
result.Category[].categoryName;
result.Category[].categoryImage;
result.Category[].categoryId;
result.Category[].categoryName;
result.Category[].categoryImage;

JS解析JSON字符串的更多相关文章

  1. js解析Json字符串的方法

      要把一个xml字符串转(“1,2,3,4,5,6,7,8,1,2”)换成数组的形式,每个值都应该是number类型的,想当然的就用了split方法,结果...问题来了,服务器要求数组的值是数字,而 ...

  2. js 解析json字符串

    server端返回的数据例如以下: {"list":[{"id":1,"name":"汉族"},{"id&qu ...

  3. JS解析json数据并将json字符串转化为数组的实现方法

    json数据在ajax实现异步交互时起到了很重要的作用,他可以返回请求的数据,然后利用客户端的js进行解析,这一点体现出js的强大,本文介绍JS解析json数据并将json字符串转化为数组的实现方法, ...

  4. JS的全局函数eval解析JSON字符串

    JavaScript eval() 函数 定义和用法 eval() 函数可计算某个字符串,并执行其中的的 JavaScript 代码. 语法 eval(string) 参数 描述 string 必需. ...

  5. 《项目经验》--后台一般处理程序向前台JS文件传递JSON,JS解析JSON,将数据显示在界面--显示在DropDownList 或 显示在动态创建的table中

    http://blog.csdn.net/mazhaojuan/article/details/8599167 先看一下我要实现的功能界面: 这篇文章主要介绍:后台一般处理程序把从数据库查找的数据,转 ...

  6. JS解析json数据

    JS解析json数据(如何将json字符串转化为数组) 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN&q ...

  7. 前端学习之——js解析json数组

    ** 前端学习之——js解析json数组** 解析json数组即对JSONArray的遍历 一.对于标准的json数组如: var result=[{"flag":1," ...

  8. js中Json字符串如何转成Json对象(4种转换方式)

    js中Json字符串如何转成Json对象(4种转换方式) 一.总结 一句话总结:原生方法(就是浏览器默认支持的方法) 浏览器支持的转换方式(Firefox,chrome,opera,safari,ie ...

  9. c# 自定义解析JSON字符串数据

    解析json字符串有很多方式, 1 : 在网上下载json解析的dll类库并添加引用, 调用相关方法; 2 : 使用自带类库JavaScriptSerializer的序列号和反序列化; 对于以上两个方 ...

随机推荐

  1. centos7上关闭防火墙

    centos7上默认开启的是+firewalld,关闭了iptables 停止防护墙: systemctl stop firewalld.service 开机不启动: systemctl disabl ...

  2. 打印二叉堆(Java实现)

    打印二叉堆:利用层级关系 我这里是先将堆排序,然后在sort里执行了打印堆的方法printAsTree() public class MaxHeap<T extends Comparable&l ...

  3. HashMap源码解析(JDK1.8)

    package java.util; import sun.misc.SharedSecrets; import java.io.IOException; import java.io.Invalid ...

  4. EntityFramework Core 运行dotnet ef命令迁移背后本质是什么?(EF Core迁移原理)

    前言 终于踏出第一步探索EF Core原理和本质,过程虽然比较漫长且枯燥乏味还得反复论证,其中滋味自知,EF Core的强大想必不用我再过多废话,有时候我们是否思考过背后到底做了些什么,到底怎么实现的 ...

  5. Algorithm --> n位数去掉k位后找最小数

    去掉K位求取最小数 一个n位的数,去掉其中的k位,怎样使留下来的(n-k)位数按原来的前后顺序组成的数最小 例如 8314925去掉4个数,留下125最小,注意有前后顺序要求,要是没有顺序当然是123 ...

  6. java.lang.Thread、java.lang.ThreadGroup和java.lang.ThreadLocal<T>详细解读

    一.Thread类 public class Thread extends Object  impments Runnable 线程是程序中的 执行线程.java虚拟机允许应用程序并发地运行多个执行线 ...

  7. Git常用命令(二)------ 远程库操作

    本文总结自廖雪峰网站. Git支持多种协议,git://使用ssh协议,速度最快,也可使用https等协议. 对远程库操作: 推送: 1.先远程建立一个Repo库,f 2.远程和本地关联: git r ...

  8. linux下文件的复制、移动与删除命令为:cp,mv,rm

    一.文件复制命令cp    命令格式:cp [-adfilprsu] 源文件(source) 目标文件(destination)    cp [option] source1 source2 sour ...

  9. 浅谈element-ui中的BEM范式实践

    日常的工作中,我们无时无刻不在和样式打交道.没有样式的页面就如同一部电影,被人随意地在不同地方做了截取. BEM规范应该是对于我们现在前端组件开发中我觉得是最合适的一套范式了.所以,我在自己的日常工作 ...

  10. 04_Python的数据类型1数值和字符串_Python编程之路

    上一节我们通过一个helloworld程序学习python的一些简单操作,还有输入与输出 这节我们来讲Python的数据类型与变量的操作 Python的交互器 在讲这个之前,我要先讲一下python的 ...