我有一个球员列表,每个球员都属于一个小组。如何使用过滤器列出每个组的用户?
[ {
"UserID": 61267,
"FullName": "Steve",
"Permissions": [
{
"PermssionType": 1,
"PermssionStr": "team alpha"
}
] }, {
"UserID": 61268,
"FullName": "George",
"Permissions": [
{
"PermssionType": 1,
"PermssionStr": "team alpha"
},
{
"PermssionType": 2,
"PermssionStr": "team beta"
}
] }, {
"UserID": 50825,
"FullName": " Gene",
"Permissions": [
{
"PermssionType": 1,
"PermssionStr": "team alpha"
},
{
"PermssionType": 2,
"PermssionStr": "team beta"
}
] } ]
我正在寻找这个结果:
团队Alpha
基因
乔治
史蒂夫
团队beta
基因
乔治