私のサーバは有効なJSON文字列(JSONP)を返します。私はこの機能がJSON文字列をjavascript関数に渡す
function parseJSON (myOBJ) {
//myOBJ is already a JSON object but I wanted to it to be a JSON string
// so that I can check
// if browser supports JSON.parse otherwise do eval on that string.
}
https://github.com/douglascrockford/JSON-js/blob/master/json2.js – ThiefMaster