Need help with preprocessing Json data
Need help with preprocessing Json data
robertoc74
Posts: 0Questions: 0Answers: 0
Hello,
Is there a way to pre-process this Json data to make it work with DataTables?
Please, see below.
Thanks!
{"query":{"COLUMNS":["ID","NAME","PREVIEW","BY","EMAIL","COMPANY","URL","DATE CREATED","STATUS"],"DATA":[[72,null,1,"abc","test1@acme.com","Company A","http:\/\/www.test3.com","January, 11 2012 12:02:22","New"],[71,null,1,"nn","test2@test.com","Company B","http:\/\/www.test2.com","January, 11 2012 12:02:22","New"],[70,null,1,"bbb","test3@test.com","Company C","http:\/\/www.test.com","January, 11 2012 12:02:22","New"]]}}
Is there a way to pre-process this Json data to make it work with DataTables?
Please, see below.
Thanks!
{"query":{"COLUMNS":["ID","NAME","PREVIEW","BY","EMAIL","COMPANY","URL","DATE CREATED","STATUS"],"DATA":[[72,null,1,"abc","test1@acme.com","Company A","http:\/\/www.test3.com","January, 11 2012 12:02:22","New"],[71,null,1,"nn","test2@test.com","Company B","http:\/\/www.test2.com","January, 11 2012 12:02:22","New"],[70,null,1,"bbb","test3@test.com","Company C","http:\/\/www.test.com","January, 11 2012 12:02:22","New"]]}}
This discussion has been closed.