suppose a group leader is like this
var qq = [
[
{
"group": 100,
"info": {"event": 123},
"main": true,
},
{
"group": 100,
"info": {"event": 323},
"main": false,
"sp": 12
},
{
"group": 103,
"info": {"event": 123},
"main": false,
"sp": 1
}
],
[
{
"group": 103,
"info": {"event": 123},
"main": true,
"sp": 13,
},
{
"group": 103,
"info": {"event": 323},
"main": false,
"sp": 10
}
]
];
how can this be implemented?