So how can i handle this scenario?
if i have wrapper as mentioned below, will it solve the problem?
@XmlAccessorType(XmlAccessType.PUBLIC_MEMBER)
@XmlRootElement(name = "store")
public class Store {
private String description;
private Keywords keywords;
@XmlElement(name = "keywords")
public Keywords getKeywords() {
return this.keywords;
}
}
@XmlRootElement(name = "Keywords")
public class Keywords {
private Set<Keyword> keyword;
@XmlElement(name = "keyword")
public set<Keyword> getKeyword() {
return this.keywords;
}
}
Thanks
Kannan
--
View this message in context:
http://cxf.547215.n5.nabble.com/Support-for-Json-arrays-tp576369p3384835.html
Sent from the cxf-dev mailing list archive at Nabble.com.