I have a spring webservice that returns a json response. I\'m using the example given here to create the service: http://www.mkyong.com/spring-mvc/spring-3-mvc-and-json-exam
As of Jackson 2.0, @JsonSerialize(include = xxx) has been deprecated in favour of @JsonInclude
@JsonSerialize(include = xxx)
@JsonInclude