You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Cole Ferrier <co...@coleferrier.com> on 2011/04/03 18:27:35 UTC

JAX-RS and JSON output

Is it possible to use the jax-rs support in CXF to output JSON instead of
XML?

Link to documentation? Instructions?

Cole

Re: JAX-RS and JSON output

Posted by Sergey Beryozkin <sb...@gmail.com>.
Sure, some info is here:

http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-JSONsupport

That explains how a default JSONProvider can be used, Jackson can also be
used if preferred

Cheers, Srgey

On Sun, Apr 3, 2011 at 5:27 PM, Cole Ferrier <co...@coleferrier.com> wrote:

> Is it possible to use the jax-rs support in CXF to output JSON instead of
> XML?
>
> Link to documentation? Instructions?
>
> Cole
>



-- 
Sergey Beryozkin

Application Integration Division of Talend <http://www.talend.com>
http://sberyozkin.blogspot.com