I have created a table to show and update a JSON object. this are 2 fields in that tables. I have put the JSON path in the name field.
var obj = {
"subscription": {
"control-data": [
"app",
"sp"
],
"callback-url": "http://core.mbv:18080/man-notify",
"post-notification": true
},
"charging-schedulers": [
{
"charging-scheduler-name": "fifteen-days",
}
]
}
<input type="text" name="subscription%$#^control-data%$#^0" class="inputArea" value="app" size="3">
<input type="text" name="subscription%$#^callback-url" class="inputArea" value="http://core.mbv:18080/man-notify" size="36">
I have kept this path to use in updating the JSON object. I have tried my own way to update it. but it takes hundreds of codes. are there any easy way to update that JSON object.