-Underneath the covers, Spring MVC delegates to a [`HttpMessageConverter`](http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/http/converter/HttpMessageConverter.html) to perform the serialization. In this case, Spring MVC invokes a [`MappingJacksonHttpMessageConverter`](http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/http/converter/json/MappingJacksonHttpMessageConverter.html) built on the [Jackson](http://jackson.codehaus.org/) JSON processor. This happens automatically but you need to use the [`mvc:annotation-driven`](https://src.springframework.org/svn/spring-samples/mvc-ajax/trunk/src/main/webapp/WEB-INF/spring/mvc-config.xml) configuration element and have with Jackson present in your classpath. In the project, the Jackson libraries are loaded with maven using the following dependencies in the `pom.xml` file:
0 commit comments