After receiving a valid JSON string (JSONP) from my server, I needed to parse it on the client side.
Here is an example: parseJSON({ "NAME": "Tom" });
I have implemented this function on the client side:
function parseJSON(myOBJ) {
//myOBJ is already a JSON object but I want to convert it to a JSON string
// so that I can check if the browser supports JSON.parse; otherwise, I will use eval on that string.
}