"data": { "children": [ { "children": [ { "children": [ { "children": [], "count": 0, "topic": "计算机、通信和其他电子设备制造业", "id": "L139", "direction": "left" }, { "children": [], "count": 0, "topic": "铁路、船舶、航空航天和其他运输设备制造业", "id": "L137", "direction": "left" } ], "count": 0, "topic": "金属制品、机械和设备修理业", "id": "L143", "direction": "left" }, { "children": [ { "children": [ { "children": [ { "children": [ { "children": [ { "children": null, "count": null, "topic": null, "id": null, "direction": null }, { "children": null, "count": null, "topic": null, "id": null, "direction": null }, { "children": null, "count": null, "topic": null, "id": null, "direction": null } ], "count": 0, "topic": "基础化学原料制造", "id": "L1261", "direction": "left" },
IndustryZtree industryZtree = new IndustryZtree(); industryZtree.setId("C" + middle); industryZtree.setTopic(topic); industryZtree.setChildren(list); setAttr("data", industryZtree); renderJson();
使用renderjson返回数据时部分数据会被搞成
{ "children": null, "count": null, "topic": null, "id": null, "direction": null }
请问是什么原因