I am using org.json.JSONObject to parse some json being sent to my servlet using iphone. For a while I was obsessed with why I get an error message at all. Error message:
org.json.JSONException: line without interruption in 737 [character 738 line 1]
After printing what I received, I see that the sent string was indeed interrupted and stopped in the middle of json. I do not understand why this will be interrupted. There is no limit on line size (or at least just a memory limit).
Has anyone else had a fading error?
Greetings
Joe
source
share