I am posting a jQuery AJAX POST to a servlet and the data is in the form of JSON String. Its getting posted successfully but on the Servlet side I need to read these key-val
If you just want to marshal it into a Map then try Jackson.
ObjectMapper mapper = new ObjectMapper(); ... Map data = mapper.readValue(request.getParameter("mydata"), Map.class);