I want to convert an Object to an array.
The object is like this
{1: 36, 3: 112, 6: 71} and i want it to convert it to this [[1,36],[3,112],[6,71]].
Actually the data is JSON then i want to use it as data for jqplot.
I have found answers as to converting object to array but mostly like this:
from {1: 36, 3: 112, 6: 71} to [[36],[112],[71]].
Any ideas regarding this one? Any help will be appreciated.