users@jersey.java.net

[Jersey] Controlling JSON to POJO conversion

From: <java.net_at_byrman.demon.nl>
Date: Wed, 13 Jun 2012 14:35:44 +0000 (GMT)

Hi,

I am experimenting with Jersey's POJO mapping feature and was wondering
whether it is possible to unmarshal the following response directly
into a Person POJO without the need for a wrapper class (I am not
interested in "foo"):

{
    "foo": "bar",
    "person": {
        "name": "joe",
        "age": 30
    }
}