Hi David,
I think Dan did some more to support Moxy directly in CXF so either CXF
JSONProvider and may be even JacksonJsonJaxbprovider will work as is
with it.
If that does not work (I think this is on 3.0 only) then registering a
custom JAXRS ContextResolver using a moxy JAXBContext factory should do
Cheers, Sergey
On 29/10/13 02:11, David Hay wrote:
Hi Sergey,
Ok, will do.
Any update on using MOXy as the JSON Provider with CXF?
cheers,
David
On Mon, Oct 28, 2013 at 5:09 PM, Sergey Beryozkin <[email protected]>wrote:
Hi David
It's probably a matter of using a Jackson specific annotation, or config
property, Jacjson definitely should be able to handle root elements
(dropping or adding them as needed), please check on the Jackson list
Cheers. Sergey
On 25/10/13 23:16, David Hay wrote:
We ran into the serialize arrays issue (where 1 element in array will be
serialized without the surrounding array) with Jettison, and it appears
you
have to list every array property that you want to apply the
serializeAsArray property to.
We tried using Jackson instead, now, and it complains about the root
element in the JSON we send.
Is there a way to get Jackson to handle the root element in JSON it
receives?
cheers,
David