I hava a JAVA EE backend and I am using Spring MVC. I have a AJAX call like this:
function getAllProjects() { $.getJSON(\"project/getall\", function(
You need to:
Map
For more complex cases when you need to configure mapping process for each handler method you may use MappingJacksonJsonView instead of @ResponseBody, as Stepen C suggested.
MappingJacksonJsonView
@ResponseBody