开发者

Jquery JSON FORMAT ERROR

开发者 https://www.devze.com 2023-02-02 20:32 出处:网络
{\"simpleSearchResult\" : { \"facultydetail\": [ {\"comboValue\":\"FACULTY\"}, {\"facultyDetail\": [ \"Android\",
{"simpleSearchResult" :
 { 
  "facultydetail":
     [
      {"comboValue":"FACULTY"},
      {"facultyDetail":
          [
           "Android",
           "Android profile",
           "balaguru",
           "Ulsoor",
           "balaguru@savinirs.com",
           "B开发者_开发问答angalore",
           "Karnataka",
           "India",
           "83",
           "3 years of teaching experiance",
           "INR",
           "10000.0",
           "40",
           "20000.0"
          ]
      },
      {"NunberOfPages":"1"},
      {"CurrentPage":"1"},
      {"SkillIds":"an"},
      {"cityId":"ba"},
      {"DisplayCboValue":"STUDENT"},
      {"Limit":"0"},
      {"PageComboVal":"10"},
      {"discipline":"Languages"}
     ]
 }
} 

This is my JSON string from my action class i am returning this to jQuery ajax call but that is always going to error block, gving parse error any one please help me to fix this issue


There are multiple JSON validators available online which can pinpoint the problem with JSON formatting. I used http://www.jsonlint.com/ and it appears that your JSON is valid. The problem is probably somewhere else.

0

精彩评论

暂无评论...
验证码 换一张
取 消