How To Convert Json to google visualization datatable
问题 I have a method with ajax call to the server to get json result var jsonData = $.ajax({ url: '/Reports/GetJsonData', type: 'GET', dataType: 'json', error: function (err) { alert("Error : "+err.statusText); } }).responseText; Then I can get the Following Json result to the "jsonData" variable. [ {"LineName":"L1","Car":23,"Bus":0,"Motorcycle":0,"Person":0,"Others":0} ,{"LineName":"L2","Car":0,"Bus":0,"Motorcycle":6,"Person":0,"Others":0} ,{"LineName":"L3","Car":10,"Bus":20,"Motorcycle":36,