{"simpleSearchResult" :
{
"facultydetail":
[
{"comboValue":"FACULTY"},
{"facultyDetail":
[
"Android",
"Android profile",
"balaguru",
"Ulsoor",
"balaguru@savinirs.com",
"Bangalore",
"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"}
]
}
}
这是我的动作类中的JSON字符串我将此返回给jQuery ajax调用但是总是会出现错误块,gving解析错误任何一个请帮我修复此问题
答案 0 :(得分:0)
网上有多个JSON验证器,可以查明JSON格式的问题。我使用了http://www.jsonlint.com/,看来你的JSON是有效的。问题可能出在其他地方。