letarrn=[{"MENU_URL":"dashboard","MENU_ID":"104a580029c54e139210b7e87dca6d82","MENU_NAME":"监控面板"},{"MENU_URL":"systemManage","MENU_ID":"769130d1918d47219e6f0c463a1c9c67","MENU_NAME":"系统管理"},{"MENU_URL":"serviceManage","MENU_ID":"8619ca0b6fbc42649a27475e339d5d4a","MENU_INFO":[{"MENU_URL":"userInfo","MENU_ID":"104a580029c54e139210b7e87dca6d87","MENU_NAME":"三户信息"}],"MENU_NAME":"业务管理"},{"MENU_URL":"serviceManage/recordQuery","MENU_ID":"d379e3f38cb3472ab18287034f32ef46","MENU_INFO":[{"MENU_URL":"dashboard","MENU_ID":"104a580029c54e139210b7e87dca6d80","MENU_INFO":[{"MENU_URL":"dashboard","MENU_ID":"454a580029c54e139210b7e87dca6d82","MENU_NAME":"监控面板222"}],"MENU_NAME":"监控面板111"},{"MENU_URL":"dashboard","MENU_ID":"104a580029c54e139210b7e87dca6d89","MENU_NAME":"监控面板333"}],"MENU_NAME":"订购信息查询"}]这是一个不定级嵌套的树形json,之前问了某位大牛,找到了最外层,无奈水平有限,无法参透,现在需要把所有父ID都找出来,放到数组里。
添加回答
举报
0/150
提交
取消