I\'m new to java and I struggling with this problem for 2 days and finally decided to ask here.
I am trying to read data sent by jQuery so i can use it in my servlet
Using the import org.json.JSONObject instead of import org.json.simple.JSONObject did the trick for me.
See How to create Json object from String containing characters like ':' ,'[' and ']' in Java.