I have a code where this help me to update the JSON node values. But, there is a small complexity in my way of handling. I have a Node that may come across any JSONObject.
Note: Below is the sample json structure.
{
"Apple": {
"Name": "AA",
"description": "apple"
},
"Mango": {
"Name": "RA",
"description": "Mango"
}
}
I would like to update the Name and Description for both Apple and Mango.