Announcement Announcement Module
Collapse
No announcement yet.
Custom HttpMessageConverter with @ResponseBody to do Json things Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom HttpMessageConverter with @ResponseBody to do Json things

    Hello there, people,

    I don't like Jackson.
    I want to use ajax but with Google Gson.
    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 <mvc:annotation-driven />?

    Thanks in advance.

  • #2
    You may see that it took me some time to find the answer. And I had to do it on my own.
    Now I'm here to share it with you 'couse it was hard... realy hard!!!
    See the solution here:
    http://stackoverflow.com/questions/5...do-json-things

    Comment

    Working...
    X