I'm using blueimp file upload angularjs version and have mostly got it working. The only area I'm having an issue with is parsing of the json response.
As recommended by angularjs team here - https://docs.angularjs.org/api/ng/service/$http - all server responses of type application/json are prefixed with ")]}',\n" and angularjs is smart enough to strip it.
I'm wondering where in blueimp I can intercept/pre-process the response to strip the prefix as it isn't happening by default and causes a json parse error.
I have a spring mvc app with MappingJacksonHttpMessageConverter class handling the response for all application/json types and cannot disable for specific requests as far as I can tell.
Thanks in advance.