I think you will have to write a custom serializer that handles your data. This could help you on to the way of achieving that.
Redlab
2010-07-21 20:05:41
I think you will have to write a custom serializer that handles your data. This could help you on to the way of achieving that.
I found a way to do this with Spring MVC, thanks to http://pascaldimassimo.com/2010/04/13/how-to-return-a-single-json-list-out-of-mappingjacksonjsonview/#comment-4
I had actually been going down that route (changing the way it's serialized by Spring) and had something similar but not quite the same (and which wasn't working), but this does the trick perfectly.
Not sure what to do here, but I think it is Spring that adds that name. Jackson itself would not do it by default. So it is probably more of SpringMVC question.