title: Custom HttpMessageConverter with @ResponseBody to do Json things
body: <p>I don't like Jackson.</p>
  
  <p>I want to use ajax but with Google Gson.</p>
  
  <p>So I'm trying to figure out how to implement my own HttpMessageConverter to use it with @ResponseBody annotation.
  Can someone take a time to show me the way I should go? What configurations should I turn on?
  Also I'm wondering if I can do this and still use &lt;mvc:annotation-driven /&gt;?</p>
  
  <p>Thanks in advance.</p>
  
  <p>I've already asked it in Spring Community Foruns about 3 days ago with no answer so I'm asking here to see if I get a better chance.
  <a href="http://forum.springsource.org/showthread.php?t=103357" rel="nofollow noreferrer">Spring Community Forums link to my question</a></p>
  
  <p>I've also made an exhaustive search on the web and found something interesting on this subject but it seems they're thinking to put it in Spring 3.1 and I'm still using spring 3.0.5:
  <a href="https://jira.springsource.org/browse/SPR-7504?focusedCommentId=58053&amp;page=com.atlassian.jira.plugin.system.issuetabpanels%253Acomment-tabpanel" rel="nofollow noreferrer">Jira's Spring Improvement ask</a></p>
  
  <p>Well... now I'm trying to debug Spring code to find out myself how to do this, but I'm having some problems like I've said here:
  <a href="https://stackoverflow.com/questions/4405237/spring-framework-build-error/5018035#5018035">Spring Framework Build Error</a></p>
  
  <p>If there is another way to do this and I'm missing it, please let me know.</p>