I need help with the method signature on the updateGroupupdateGroup 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** Object GroupActions){
//Do Something...
}
What type should GroupActionsGroupActions be above to recieve the json. ? HashMapHashMap, ArrayListArrayList, some combination?