I'm trying to implement the workaround described in the Angular Docs for $http under JSON Vulnerability Protection. The workaround is to have the server prefix every JSON request with the string ")]}',\n
".
My server is a JBoss running a RESTEasy web service. I've attempted to achieve the workaround using JAX-RS filters and interceptors to no avail.
Is it even possible to prefix every JSON response from RESTEasy with a string without modifying all the POJOs?