I am very new into jQuery and JSON. I need to parse a JSON of the following format so as to populate a html table tbody:
{\"response\":[[\"name0\",\"id0\",\"amt0
Not tested but it can be something like:
var jsondata=$.parseJSON('{"response":[["name0","id0","amt0"],["name1","id1","amt1"]]}'); $.each(jsondata.response, function(i, d) { var row=''; $.each(d, function(j, e) { row+=''+e+''; }); row+=''; $('#table tbody').append(row); });