Re: Supprot for wrapped/unwrapped styles in Mapped convention for JSON

2009-07-06 Thread Sergey Beryozkin
c"}} >> >> works fine and gives an Employee object, but if the JSON input is >> >> {"name":"abc"} >> >> unmarshalling fails. >> >> Does CXF support both wrapped and unwrapped styles in Mapped convention >> for JSON? >> If yes what should be done to make the second case work? >> >> Thank you >> Chaithanya. >> > > -- View this message in context: http://www.nabble.com/Supprot-for-wrapped-unwrapped-styles-in-Mapped-convention-for-JSON-tp24319534p24353228.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: Supprot for wrapped/unwrapped styles in Mapped convention for JSON

2009-07-06 Thread Sergey Beryozkin
> unmarshalling fails. > > Does CXF support both wrapped and unwrapped styles in Mapped convention > for JSON? > If yes what should be done to make the second case work? > > Thank you > Chaithanya. > -- View this message in context: http://www.nabble.com/Supprot-for-wrapped-unwrapped-styles-in-Mapped-convention-for-JSON-tp24319534p24353159.html Sent from the cxf-dev mailing list archive at Nabble.com.

Supprot for wrapped/unwrapped styles in Mapped convention for JSON

2009-07-03 Thread Chaitanya
Hi, I have a JAX-RS method which takes an Employee object 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; }