cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craigrs84 <>
Subject Can't Get Jackson jaxrs:providers Working!!!
Date Tue, 18 Aug 2015 19:40:50 GMT
I have the following setup, I'm trying to use Jackson Json provider with
custom settings applied.

However whenever I connect to my service the customizations are NOT applied. 
For example it still wraps the root element and doesn't indent the JSON. 
(see code below for explanation)

I'm getting desperate, please respond with advice.  Thanks.

<jaxrs:server id="textingService" address="/texting">
        	<bean class=""/>
			<ref bean="jsonProvider"/>
			<ref bean="jaxbJsonProvider"/>

public class CustomJsonProvider extends
	public CustomJsonProvider()
    	super.configure(SerializationFeature.WRAP_ROOT_VALUE, false);
    	super.configure(SerializationFeature.INDENT_OUTPUT, true);

View this message in context:
Sent from the cxf-dev mailing list archive at

View raw message