News

When calling the toList() method of a JSONArray which contains JSONObject the returned list contains HashMap elements. The documentation mentions: Returns a java.util.List containing all of the ...
If we try to return a JsonOject in jersey, like this @Path("/formSubmit") @POST @Produces("application/json") public JSONObject formSubmit() { JSONObject json1 =new ...