I think the key is that I am using the JAXB annotations, and not the JAX-RS
ones. I am using jackson 2.2.3 now, but it was working also before with
1.9.   You include the databind jar, and then the JAXB serializer can use
the Jackson Provider.  Specifically I'm using this one:

com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider




*Aaron Titus*
Senior Software Engineer
F.W. Davison & Company, Inc.
508-747-7261 x245
[email protected]


On Thu, Nov 27, 2014 at 11:34 AM, Richard Snowden <
[email protected]> wrote:

> Which version of Jackson do you use?
>
> On Thu, Nov 27, 2014 at 5:24 PM, Aaron Titus <[email protected]> wrote:
>
> > I'm not sure if this will help you or not but I am using Jackson as the
> > provider with CXF, and my object classes are annotated with JAXB
> > annotations. I'm able to create both JSON and XML without issue, even
> using
> > simple types like String and boolean.  This may be more overhead than you
> > want?  Maybe just create a simple class to use as a wrapper for the
> return
> > boolean.
> >
>

Reply via email to