I am using jquery in my web application. There we use the below eval method.
var json = eval('(' + data + ')');
After googling I found eval method used above converts json data to javascript object. But what does that syntax means ? why it has to be enclosed within ('(' ')') parenthesis. Please help me in understanding.