How can I debug in a Spring Boot with Spring Web project how REST endpoint payload data are serialized/deserialized into JSON?
I am unsure which framework for serialization is used (Jackson, Jersey, RestEasy, ...) is used, and if so which instance? I suspect several Jackson instances being active. Any ideas where to hook in for breakpoints or what to enable for debug logging?
org.springframework.http.converter.AbstractGenericHttpMessageConverter<T>#write is a method you want to put a breakpoint in in case your application is using Jackson.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With