Java – Jackson 2.0 with Spring 3.1


Is Spring MVC 3.1 compatible with Jackson 2.0? Will Spring MVC's automatic detection of Jackson on the classpath, and delegation to Jackson for requests with a JSON content-type still work?

Best Solution

Keith Donald (of spring source) tweeted the following a while back.

Spring MVC support for Jackson 2; also works with Jackson's native "pretty print" feature

I haven't tried the MappingJackson2HttpMessageConverter found in the gist above but it would surprise me if it did not work.