score:1

Try this

var json=[{"map":{"timestamp":"2016-01-09 05:55:42.0","count":367}}];

/***This is for highcharts where I am trying to load myjson that is present in "var json"**/
var jsonArray=[];
for (var k = 0; k < json.length; k++) {
    jsonArray.push({
    name: json[k]["map"].timestamp,
    y:json[k]["map"].count
    });
}
console.log(jsonArray)


Related Query

More Query from same tag