我有一个像下面附带的复杂对象。我想使用angular material-contact-chip codepen link来实现像stackoverflow中的标记功能。有人可以帮助我完成这项工作
{
"statusReason": "OK",
"responseHeaders": {
"Transfer-Encoding": "chunked",
"Server": "Apache-Coyote\/1.1",
"Date": "Sat, 12 Dec 2015 15:22:00 GMT",
"Content-Type": "application\/json"
},
"isSuccessful": true,
"responseTime": 4,
"totalTime": 6,
"rows": [{
"doc": {
"over16": true,
"address3": "Waterside",
"familyName": "tlor",
"ldapId": 2,
"acceptedTermsAndConditions": true,
"id": 2,
"email": "kevin@gmail.com",
"status": {
"name": "Active",
"id": 2
}
}
}, {
"doc": {
"over16": true,
"address3": "Waterside",
"familyName": "sarha",
"ldapId": 2,
"acceptedTermsAndConditions": true,
"id": 2,
"email": "ain@gmail.com",
"status":
{
" name":" Active",
" id":2
}
}
}],
"statusCode": 200
}