I believe Jersey, like CXF, defaults to the Jettison JSON provider
unless you explicitly configure the Jackson provider (
http://jersey.java.net/nonav/documentation/latest/json.html). Running
mvn dependency:tree on your project might give you an indication which
provider is being used.
Glen
On 10/25/2012 12:12 PM, sende.mir.post_at_gmx.de wrote:
> Hello!
>
> In Jersey, I use the marshalling of JAXB-annotated beans to JSON.
>
> Now I need this in another project without Jersey. However, I want my output to be compatible with Jersey's JSON output.
>
> Does anybody know how (in terms of code) Jersey does the JSON marshalling internally?
>
> Regards,
> Bernd
--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza