I'm working with a JSON file structure that looks something like this:
"fields": {
"asset": {
"values": [{
"asset": {
"id": "Info_text",
"type": "text",
"value": "ABCD"
}
},
{
"asset": {
"id": "Info_input",
"type": "input",
"value": "ABCDE"
}
}
]
}
}
My task is to write JavaScript code that will iterate over the values of the "id" field and check if they are unique. Can someone help me figure out how to achieve this?