在项目中引入json2.js
官方http://www.json.org/
源码地址:https://github.com/douglascrockford/JSON-js
$.ajax({
url: ‘/LicXXse/Add‘,
contentType: "application/json; charset=utf-8",
type: ‘POST‘,
data: JSON.stringify(PostData),//还是这样写即可
async: true,
success: function (result) {
//json = JSON.parse(result);
json = jQuery.parseJSON(result);
if (json.IsSuccess) {