I can create a Json object as here http://stackoverflow.com/questions/920930/how-to-create-json-by-javascript-for-loop great! and I have created on like bellow [ { "id": "10", "userName": "kuttan" }, { "id": "11", "userName": "kunjan" } ]
Suppose I want to update name of the user with id 10 to "new name" what should i do?(i dont know the index is 1)