My data model is like below:
[
{
"a": 123,
"b": 0,
"c": "test0"
},
{
"a": 123,
"b": 1,
"c": "test1"
},
{
"a": 234,
"b": 0,
"c": "test3"
},
{
"a": 234,
"b": 1,
"c": "test4"
},
]
I want to group the values having the same value like this:
[
123: [
{
"a": 123,
"b": 0
"c": "test0"
},
{
"a": 123,
"b": 1,
"c": "test1"
},
]
234: [
{
"a": 234,
"b": 0,
"c": "test3"
},
{
"a": 234,
"b": 1,
"c": "test4"
},
]
]