Possible Duplicate:
Reading JSON string in Jquery
The following Json String
{
"direct":{
"newvisits":3,
"uniquevisits":3,
"retvisits":0
},
"user":{
"newvisits":4,
"uniquevisits":4,
"retvisits":0
}
}
The elements "direct" and "user" etc. are dynamically filled values.
How can I access the values of "direct" and "user" using jquery?
In detail Want to fetch the name of "direct" and "user"[dyanamically filled fields] and then the values under each category