Hello. I had the following problem - the application uses Jersey api and annotations. May return 2 types of json, xml contents. Request handler prompleno as
@GET @Produces({"application/xml","application/json"})
The problem is the following - in the returned content there is a line containing quotation marks "" ". In the case of returning json, the string returns normally, but in the case when xml is returned, quotation marks" "" are replaced by "& quot;". Need to fix it. In other words, you need to somehow reach the jersey config and point it to him so that he does not search for quotes, but passes it on as it is.