Hi,
No, we don't support yet serilalizing/deserializing explicit
collections/lists. I will attempt to fix it before 2.2.3, serializing bit at
least.
cheers, Sergey
Chaitanya-10 wrote:
>
> 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.
>
--
View this message in context:
http://www.nabble.com/Support-for-Json-arrays-tp24409855p24417031.html
Sent from the cxf-dev mailing list archive at Nabble.com.