cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaitanya" <>
Subject Supprot for wrapped/unwrapped styles in Mapped convention for JSON
Date Fri, 03 Jul 2009 08:23:54 GMT

I have a JAX-RS method which takes an Employee object as a param. Employee class is given

public class Employee {
    private String name;

    public String getName() {
        return name;

    public void setName(String name) { = name;

Unmarshalling of the JSON


works fine and gives an Employee object, but if the JSON input is


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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message