I want to turn an object with objects into an array of objects in javascript.
The objects looks like that
{
"0": {
"TASKCOUNT": 1,
"ORDERID": null,
"WORKSTATION": 1,
"JOBSTATE": "finished"
},
"1": {
"TASKCOUNT": 1,
"ORDERID": null,
"WORKSTATION": 1,
"JOBSTATE": "finished"
},
"2": {
"TASKCOUNT": 1,
"ORDERID": null,
"WORKSTATION": 1,
"JOBSTATE": "finished"
}
}
The Keys of the object could be just ignored, so that I have an outcome like that
[
{
"TASKCOUNT": 1,
"ORDERID": null,
"WORKSTATION": 1,
"JOBSTATE": "finished"
},
{
"TASKCOUNT": 1,
"ORDERID": null,
"WORKSTATION": 1,
"JOBSTATE": "finished"
},
{
"TASKCOUNT": 1,
"ORDERID": null,
"WORKSTATION": 1,
"JOBSTATE": "finished"
}
]
Thanks for any help!