ExtJS Output JSON
- by venkatesh a
This is my Json structure. Got load into the form perfectly. Once i alter this form and click submit button. Output have to save with same structure like existing.
Can anyone please help me to solve this ASAP??
{
"comment": null,
"clientinfo": {
"clientName": "Timex",
"clientCode": "143",
"startDate": "04-Oct-2012",
"clientType": "CR",
"clientID": "TimexGroup",
"hasGAMLeft": null,
"gamLocation": "GB",
"clientName": "xxx",
"groupSegment": "FI",
"groupSubSegment": "SUB-FI-SUB",
"groupDomicileCounrty": "IN",
"groupIsicCode": "2403-Copper & zinc"
},
"CompanyClients": [
{
"CName": "Timex",
"ID": "1424317",
"cType": "CR",
"gType": "SD"
},
{
"CName": "Casio",
"ID": "1416529",
"cType": "AR",
"gType": "RD"
}
],
"Country": [
{
"CountryID": "Singapore",
"CountryText": "SG"
},
{
"CountryID": "India",
"CountryText": "IN"
}
]
}
I used below code to POST. saves fine as its handcoded. i need to save this dynamically.