Plain JSON array to nested JSON array using JavaScript/JQuery

前端 未结 0 846
误落风尘
误落风尘 2021-01-13 12:54

We are trying to create a tree view using JSON array but the JSON array we receives is in below format.

Input:

[
  {
    "key": "1"         


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