If I do the following JSONProvider works:
@XmlRootElement
public class SiteListWrapper implements Serializable{
private static final long serialVersionUID = -7126992538125646051L;
private List<Site> siteList;
public SiteListWrapper(){
}
public SiteListWrapper(List<Site> siteList){
super();
this.siteList = siteList;
}
public List<Site> getSiteList() {
return siteList;
}
public void setSiteList(List<Site> siteList) {
this.siteList = siteList;
}
}
This is not an ideal solution as it would cause a fair amount of
refactoring, especially since it worked "out of the box" with CXF Dosgi 1.3.
Neil
--
View this message in context:
http://cxf.547215.n5.nabble.com/Dosgi-1-4-JSONProvider-not-deserializing-collections-Possible-defect-tp5729447p5729457.html
Sent from the cxf-user mailing list archive at Nabble.com.