Keep only JSON by default because JAXB can be very intrusive (lot of annotations needed on your model) and JSON seems to be a right choice as the default settings.
Be careful, this is a breaking change, application using previously the default JSON + XML behaviour should specify at the class level of their controller :
Keep only JSON by default because JAXB can be very intrusive (lot of annotations needed on your model) and JSON seems to be a right choice as the default settings.
Be careful, this is a breaking change, application using previously the default JSON + XML behaviour should specify at the class level of their controller :
@Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })