var myJSONObject = {"bindings": [ {"ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*"}, {"ircEvent": "PRIVMSG", "method": "deleteURI", "regex": "^delete.*"}, {"ircEvent": "PRIVMSG", "method": "randomURI", "regex": "^random.*"} ] };
var myObject = eval('(' + myJSONtext + ')');
然后myObject 就是你解析出的json的格式,类似于DOM树,直接解析读取就OK
用jquery解析var dataObj=eval("("+json+")");
后台解析用Newtonsoft插件来解析。