I have this
[
{"2015":11259750.05},
{"2016":14129456.9}
]
and I want to convert this to
[
[2015,11259750.05],
[2016,14129456.9]
]
is there any function using javascript we can do this.
just to conclude I have a header as well which I want to include with the above result,
[
{"label":"SecuredYear","type":"string"},
{"label":"ValueInDhs","type":"number"}
]
along with above then it should look like `
[[
{"label":"SecuredYear","type":"string"},
{"label":"ValueInDhs","type":"number"}
], [2015,11259750.05],[2016,14129456.9]
]`
thanks
array of array (multidimentional array)and not aobjectas you mentioned in the Title