Announcement Announcement Module
Collapse
No announcement yet.
MappingJacksonJsonView and json-p callback Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • MappingJacksonJsonView and json-p callback

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

    Thanks.

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

    Comment


    • #3
      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.

      Comment

      Working...
      X