Suppose I have a JSON array like:
[{
"box": "box1",
"parent": [{
"id": "box0"
}],
"child": [{
"id": "box2"
}]
},{
"box": "box2",
"parent": [{
"id": "box1"
}],
"child": [{
"id": "box3"
},{
"id": "box4"
}]
}]
Now assume that I want to change a value parent id of box2 then how do I do that.
How can I specifically change a particular value?