I\'m using the org.json.JSONObject to parse some json being sent to my servlet by an iphone. I was stuck for a while by why I would be getting an error message at all. The e
Json won't work if received string contain new line character like \n. Try to check for it and escape the character.