Reputation: 588
I want to edit a nested field of a Json using its path as a string. The path comes from a variable.
{
"Type": "phone",
"os": "android",
"Transaction": {
"Date": {
Day: "22",
Month: "Jan"
},
"value": "2000"
}
}
I want to update say, Month value Jan to Dec
Upvotes: 0
Views: 195