spring 注解@ResponseBody 返回JSON 能不能设置他不返回为 null 的值
spring 注解@ResponseBody 返回 JSON 能不能设置他不返回为 null 的值@RequestMapping(value="/{username}",method=RequestMethod.GET,params="json")@ResponseBody public User show(@PathVariable String username){ return users.get...