In my code json returning format like this
var data = [
{"field1":"918666400041","field2":"2016-05-19 11:52:52"},
{"field1":"918666400035","field2":"2016-05-19 11:52:52"},
{"field1":"918666400060","field2":"2016-05-19 11:52:52"}
];
But I need convert to array format with out keys like:
var Data = [
['918666400041', '2016-05-19 11:52:52'],
['918666400035', '2016-05-19 11:52:52'],
['918666400035', '2016-05-19 11:52:52']
];
Can any one will give solution for this question?
I already tried with angular.forEach
function and map
function but I didn't get this format.