I am really stuck in parsing a JSON string and take it\'s values. I got the JSON string as
{\"user\":{\"id\":\"1\",\"firstname\":\"Freelogin\",\"created\":\
Json is already some javascript. so parsing is just using eval
eval
like:
var foobar = eval(yourjson); alert(foobar.user);
Also jquery has some function for it jquery.parseJSON
var foobar = $.parseJSON(yourjson);
Jquery is better because it would make some checks and perform better.