我有JSON data
,如下所示,
{"WFO2":["UK_Agents"],"TestFolder":["Pointel_Users"],"SF_Agents":[],"WFO1":["SF_Agents"],"UK_Agents":[],"GVP_behind":[],"CCASimulator":[],"GLite":[],"Pointel_Users":["Pointel_Users"],"Persons":["GVP_behind","CCASimulator","WFO1","WFO2","GLite","Pointel_Users","TestFolder"]}
我在网上搜索过,无法找到可靠的答案。因为tree structure
所有人都在JSON file
的帮助下而不是JSON data
的帮助。
我想要一些像
这样的东西http://dojotoolkit.org/reference-guide/1.9/dijit/Tree-examples.html
我的输入将采用 JSON数据格式,输出将采用树形结构。
希望我们的堆栈用户能帮助我。