阅读背景:

使用Jackson将Java对象序列化为JSON时,抑制包装器对象

来源:互联网 

I have a web service that returns a list as JSON. It uses Jackson to map a List of Java POJOs into JSON. The problem is that the JSON representation has a wrapper object around the array, and I just want the array. I.e., I'm getting this:I have a web service that returns a list as JSO




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: