from json to table

for ex let's say we have this data:
var data = {
      header: ["First Name", "Last Name"],
      rows: [
            ["The", "Pope"],
            ["Ronald", "Reagan"],
            ["George", "Bush"]
      ]
};

i'm having issues with the following:

i need code that will turn this into a table (Not using datatables but just a simple html table) and take into account a varying number of columns.

thanks
LVL 25
dgrafxAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
you will find many examples on the net to do this, here is one good examples:
https://github.com/afshinm/Json-to-HTML-Table
0
 
dgrafxAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.