I\'m trying to use MappingJacksonJsonView
with Spring 3.0, without success. I don\'t know what I\'m doing wrong, I think the problem is that I don\'t know how t
You should do it this way:
In your xml file set the following: set
After it you need to set Jackson serializer:
after it you can use it in your Controller:
@RequestMapping(value="/getObjects",method = RequestMethod.POST)
@ResponseBody
public List getCategories(){
List objects = daoService.gettAllObjects();
return objects;
}