Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82673

List name of object from JSON file

$
0
0

Hi, I have a little different json file than in examples I found. I would like to display this data in format like:

row# | path                     | id    |status
row1 | parent1/table121 | 163 | 0 
row2 | parent2/table454 | 204 | 1
row3 | parent2/table676 | 111 | 0

And my json file is:

{  
   "people":{  
      "parent1":{  
         "table121":{  
            "id":"163",
            "status":"0"
         }
      },
      "parent2":{  
         "table454":{  
            "id":"204",
            "status":"1"
         },
         "table676":{  
            "id":"111",
            "status":"0"
         }
      }
   }
}

Thank you


Viewing all articles
Browse latest Browse all 82673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>