Results 1 to 3 of 3

Thread: MappingJacksonJsonView and json-p callback

  1. #1
    Join Date
    Sep 2009
    Posts
    2

    Default MappingJacksonJsonView and json-p callback

    Is there a way to define the json-p callback function when using MappingJacksonJsonView?

    Thanks.

  2. #2

    Default

    I have the same need as well. I think the easiest way is to extend MappingJacksonJsonView and override renderMergedOutputModel(..). Any other suggestions?

  3. #3
    Join Date
    Sep 2010
    Location
    Los Angeles, CA
    Posts
    1

    Default

    I have ran into similar issue but with Spring 3.1 using @RequestMapping. I endup created a custom message converter to deal with the padding. I have documented the details here.

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
  •