Results 1 to 2 of 2

Thread: Custom HttpMessageConverter with @ResponseBody to do Json things

Hybrid View

  1. #1
    Join Date
    Feb 2011
    Location
    Sao Paulo
    Posts
    3

    Default 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. #2
    Join Date
    Feb 2011
    Location
    Sao Paulo
    Posts
    3

    Default

    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •