I have a question regarding array. I have a JSON output passing from PHP. My output is like below:
[{"Month":"Value Transactions"},{"6":"0.70"},{"7":"10.92"},{"8":"5.60"},{"9":"1.70"}]
I know maybe my question is duplicated. But I already find the solution but can't find it. I need the above JSON to be convert like below using javascript:
[ ["Month", "Value Transactions"], [6, 0.70], [7, 10.92], [8, 5.60], [9, 1.70] ]
How can I achieve this. Please help and thank you.