jquery - How to send the nested json with the updated value? -
i have following json. if change field of json, have pass whole json updated value using jquery.
{ "processdefid": "xyz", "name": "name", "sla": "10", "haschild": true, "child": [ { "activitydefid": "sitesurveydef", "activityname": "site survey", "ismandatory": "true", "isoptional": "false", "sla": "10", "sequence": "1", "haschild": true, "child": [ { "activitydefid": "begin", "activityname": "begin", "ismandatory": "true", "isoptional": "false", "sla": "10", "sequence": "1", "haschild": true }, { "activitydefid": "site survey2", "activityname": "site survey2", "ismandatory": "true", "isoptional": "false", "sla": "10", "sequence": "1", "haschild": true } ] }, { "activitydefid": "sitesurvey", "activityname": "procurement", "ismandatory": "true", "isoptional": "false", "sla": "10", "sequence": "1", "haschild": true, "child": [ { "activitydefid": "begin", "activityname": "begin" }, { "activitydefid": "site survey", "activityname": "site survey3", "ismandatory": "true", "isoptional": "false", "sla": "10", "sequence": "1", "haschild": true } ] }, { "activitydefid": "sitesurvey", "activityname": "provisioning", "ismandatory": "true", "isoptional": "false", "sla": "10", "sequence": "1", "haschild": true, "child": [ { "activitydefid": "begin", "activityname": "begin" }, { "activitydefid": "site survey", "activityname": "site survey4", "ismandatory": "true", "isoptional": "false", "sla": "10", "sequence": "1", "haschild": true } ] } ] }
not getting idea how do? help?
Comments
Post a Comment