My agent object has the following structure:
agentObj = {
"agentId": "saqib",
"attributes": [
{
"name": "Marketing",
"type": "Boolean",
},
{
"name": "English",
"type": "Proficiency",
},
],
}
The attributes array is as follows:
attributesObj = [
{
"name": "Marketing",
"type": "Proficient",
},
{
"name": "English",
"type": "Boolean",
},
{
"name": "D",
"type": "Proficient",
}]
I'm looking to find how to retrieve the attributes from attributesObj that are not included in the attributes[] array of agentObj.