I'm working with some people who had some trouble configuring both xml and json 
output in Jersey, and I wanted to see how their particular problem could be 
resolved in CXF.  I haven't had to deal with the particular problem they had, 
and a quick search of the docs didn't give me an answer.

In short, they were hoping to get a json structure like the following:

{..., [{"prop1": prop1, "prop2": prop2},...], ...}

Where the objects in the array are "Foo" objects.

What they got was this:

{..., [{"foo": {"prop1": prop1, "prop2": prop2}},...], ...}

So instead of the "Foo" object, they got a wrapper object whose key is "foo", 
and the value is the "Foo" object.  Is it practical to configure Jettison in 
CXF to do this?

Reply via email to