Hi,
I have a JAX-RS method which takes an array of Employee objects as a param.
Employee class is given below.
@XmlRootElement
public class Employee {
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
Unmarshalling of the JSON
{ "employee" : [ {"name" : "abc"}, {"name" : "xyz"} ] }
fails.
Does CXF support unmarshalling/marshalling of arrays?
I could not find a bug on this in the issue tracker and I am not sure if this
is a bug in CXF or Jettison. Please let me know if this issue is already fixed
in the latest release(Iam using CXF 2.2 sanpshot currently).
Thank you
Chaithanya.