Building children and tree structure with Javascript (Json Array transformation)

前端 未结 0 1879
深忆病人
深忆病人 2021-01-15 00:57

How can I convert below JSON array dynamically with javascript to:

[{"name":"file1.txt"},{"name":"folderA/file2.txt"},{&

相关标签:
回答
  • 消灭零回复
提交回复
热议问题