Amit Bhavsar
Amit Bhavsar

Reputation: 1273

Looking for expandable tableview to convert my JSON tree structure

I want to convert my below JSON tree structure to expandable tableview. JSON tree can be changed dynamically from a server, which can contain Childs up to multiple internal levels.

{
  "Tree": {
    "node": [
      {
        "node": [
          {
            "node": null
          },
          {
    
            "node": [
              {
                "node": null
              }
            ]
          }
        ]
      },
      {
        "node": [
          {
            "node": null
          },
          {
            "node": null
          },
          {
            "node": null
          }
        ]
      }
    ]
  }
}

Upvotes: 5

Views: 1610

Answers (1)

Premal Khetani
Premal Khetani

Reputation: 3195

I recommend KJExpandableTableTree library if you want to create dynamic treestructure using JSON in UITableview.

  • It also provides static initialization.

Upvotes: 4

Related Questions