I had been using Jackson for an earlier service using CXF. I'm now trying to
use the default of Jettison. One thing I'm noticing is that the default output
isn't very efficient wrt output of lists. In the older service, if I had a
list attribute, I would get something like this:
"listprop":[{...firstentry...},{...secondentry...},...]
Now, with Jettison out of the box, I get something like this:
"listprop":{"listtype":[{...firstentry...},{...secondentry...},...]}
You see the addition of the thing that looks like a "listtype". This adds
additional verbosity, which isn't ideal. Is there a straightforward way to
optimize this out?