This milestone adds an asynchronous version of the toJSONObject method, which has the signature: toJSONObject(Reader reader, CallbackFunc func, Consumer exceptionConsumer) Where the callback function ...
If we try to return a JsonOject in jersey, like this @Path("/formSubmit") @POST @Produces("application/json") public JSONObject formSubmit() { JSONObject json1 =new ...