ExtJS Output JSON

Posted by venkatesh a on Stack Overflow See other posts from Stack Overflow or by venkatesh a
Published on 2012-10-15T09:35:34Z Indexed on 2012/10/15 9:36 UTC
Read the original article Hit count: 216

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about JSON

Related posts about extjs