Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I need to modify JSON object value at run time. #105

Open
GoogleCodeExporter opened this issue Apr 13, 2015 · 0 comments
Open

I need to modify JSON object value at run time. #105

GoogleCodeExporter opened this issue Apr 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

{
    "header": {
        "requestId": null
    },
    "data": [
        {
            "userId": 848478948947,
            "userName": "dsjflkjdklsfj38473",
            "gender": "M",
            "location": {
                "isFromUS": true,
                "zip": "454543",
                "city": "fgfdg",
                "state": "fgfdgfdg",
                "country": "USA"
            },
            "provider": "gfdgfdgds",
            "fullName": null
        }
    ]
}

From the above json String i need to modify the userName, zip value at run time 
and finally make this string as JSONObject and write in the .json file.

Can any one provide me the solution for this with Json - simple
Thanks in advance

Original issue reported on code.google.com by [email protected] on 26 Feb 2015 at 12:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant