I have the following Json string
{ "Users" : [
{ "Name" : "user99",
"Value" : "test"
},
{ "Name" : "test2",
"Value" : "test"
}
]
}
I am trying to parse it and print out each name and value - what is the easiest way to do this ? I tried jQuery.parseJSON but I do not know how to use it I guess
Sample code would be great
jQuery.parseJSON? Have you had a look at the example? There is not much what you can do with that function ;){"Users": {"user99" : "test2", "test2" : "test"}...]. This format keys the users by their "Name".