Looking for an extensible table view to convert my JSON tree structure

I want to convert my bottom JSON tree structure to an extensible tableview. The JSON tree can be dynamically changed from a server, which can contain children to several internal levels.

{
  "Tree": {
    "node": [
      {
        "node": [
          {
            "node": null
          },
          {
    
            "node": [
              {
                "node": null
              }
            ]
          }
        ]
      },
      {
        "node": [
          {
            "node": null
          },
          {
            "node": null
          },
          {
            "node": null
          }
        ]
      }
    ]
  }
}
+4
source share
1 answer

I recommend the KJExpandableTableTree library if you want to create a structure dynamic treeusing JSONin a UITableview.

  • It also provides static initialization.
+3
source

Source: https://habr.com/ru/post/1677239/


All Articles