json
求大神指导如何在js端把如下json数据改造成一个树结构在网页中显示出来。
json=[{"children":[{"children":[],"ebtype":"传感器模块","ebuuid":"b9d81030","href":"nodeinfo.j?nodeaddr=-17960","hrefTarget":"_self","ieee":"124B000207EABB","leaf":true,"lqi":"33","mbtype":"电源板","nodeaddr":"-17960","nodeaddr1":"47576","panid":"1231","rssi":"-69"}],"ebtype":"传感器模块","ebuuid":null,"href":"nodeinfo.j?nodeaddr=0","hrefTarget":"_self","ieee":"124B0001A8E7F7","leaf":false,"lqi":"0","mbtype":"智能板","nodeaddr":"0","nodeaddr1":"0","panid":"1231","rssi":"0"}]
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。