JSON讀取
不用maven建立這個(gè)項(xiàng)目,用web建立json這個(gè)項(xiàng)目時(shí),讀取操作時(shí),出現(xiàn)Exception in thread "main" org.json.JSONException: Unterminated string at character 38 of {這個(gè)異常是什么原因?
不用maven建立這個(gè)項(xiàng)目,用web建立json這個(gè)項(xiàng)目時(shí),讀取操作時(shí),出現(xiàn)Exception in thread "main" org.json.JSONException: Unterminated string at character 38 of {這個(gè)異常是什么原因?
2016-11-15
舉報(bào)
2016-12-16
hello,world
2016-11-15
不能識(shí)別的字符。你的json里的數(shù)組的一個(gè)元素后面的雙引號(hào)打成問好了。