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