New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JsonViewSupportFactoryBean replaces all other converters? #30
Comments
Ran into the same problem. I've removed line
and it fixed my issues and it seems that it didn't break anything else. |
Now the (our internal/custom) class looks:
|
I too had the same problem (and fix). To me, the offending line mentioned above seems like a mistake. If removing that line breaks functionality in some way, the please let me know. |
Pushed a fix to the latest snapshot version, would you mind giving that a try? If you don't have any issues, I'll release it to Maven Central. |
Hi,
is it right that the JsonViewSupportFactoryBean replaces all other converters in
https://github.com/monitorjbl/json-view/blob/master/spring-json-view/src/main/java/com/monitorjbl/json/JsonViewSupportFactoryBean.java#L33 ?
Then in
https://github.com/monitorjbl/json-view/blob/master/spring-json-view/src/main/java/com/monitorjbl/json/JsonViewSupportFactoryBean.java#L40
the converter is added again?!
How about just replacing a possibly existing MappingJackson2HttpMessageConverter instead?
Now my application misses the Jaxb2RootElementHttpMessageConverter which it had before.
Thanks for this work so far.
Best regards
Achim
The text was updated successfully, but these errors were encountered: