So here is the deal. I have an array that contains a bunch of objects that look something like this:
[{
"this": 5,
"that": 300,
"those": 15
},
{
"this": 6,
"that": 301,
"those": 16
},
{
"this": 7,
"that: 302,
"those": 17
}]
What I want, is an object, that looks like this:
{
"this": [5, 6, 7],
"that": [300, 301, 302],
"those": [15, 16, 17]
}
I don't really know what to call this and by what I searched for, I couldn't find anything similar that would help me.