I am struggling to figure out how to bad some bad incoming json
Any suggestions?
The incoming "json" data comes in like
[4,"1.0",1434106807361]
[1,1434106891000]
[1,1434106934000]
[1,1434106995000]
and can't figure out the equivalent of this.
function(responseCode, data){
var json = $.parseJSON('['+data.split('\n').join(',')+']');
...
}
Is it possible?
thanks
(first time widget writer)
K