Have the following Spring REST code which returns a JSON response-
@RequestMapping(value="/viewAllEmployees.do")
@ResponseBody
public List<Employee> viewAllItems() {
List<Employee> allEmployees = employeeService.getAllEmployees();
return allEmployees;
}
How can this be modified to return the JSON response as a zip? Thanks