title: Intercept JAX-RS web service response to add JSON field
body: <p>I have a JAX-RS web service that returns a Response object as shown below (it is running in WebLogic 12.2.1). It will return a JSON response to the client. Is it possible to write an interceptor or filter, such that when the web service call is returned, it will add an extra field in the JSON response?</p>
  
  <pre><code>@POST
  @Consumes(MediaType.APPLICATION_JSON)
  @Produces(MediaType.APPLICATION_JSON)
  @Path("LogIn")
  public Response logIn(@Context HttpServletRequest request, Parameters requestParameters) {...}
  </code></pre>
  
  <p>Thanks in advance.</p>