title: how to pass json object to a java rest webservice using jax rs
body: <p>I need help with the method signature on the <code>updateGroup</code> method.
  Here is the json im passing - its an array of actions. </p>
  
  <pre><code>    [{"action":"add","key":"104"}]
  </code></pre>
  
  <p>this is the method its being passed to </p>
  
  <pre><code>@PUT
  @Path("/group/{id}")
  @Consumes(MediaType.APPLICATION_JSON)
  @Produces(MediaType.APPLICATION_JSON)
  public IRestResponse updateGroup(@PathParam("id") String GroupName,
                                   Object GroupActions){
      //Do Something...
  }
  </code></pre>
  
  <p>What type should <code>GroupActions</code> be above to recieve the json. ? <code>HashMap</code>, <code>ArrayList</code>, some combination?  </p>