We have a huge json payload. When deserializing it with 2.8.11, it works just fine. When using 2.9.8, one of the embedded objects is null. What is the best way to debug the deserializer? I dont see any exceptions in the log. If I go through the debugger, it takes forever and I never reach the end. Please help. Thanks.
Check the logging options for the deserializer and see if you can raise them to a detailed debug level. It's likely that with fine enough logging you may actually be able to see the elements by name as they are processed and that will help you spot any irregularities in processing.
Another option, assuming you're using an open-source deserializer is to download the source (make sure it's the EXACT same version!) of the deserializer and set a breakpoint on the place where the faulty element should be processed. Then set up a conditional breakpoint. That will slow processing down, but you won't have to manually step through every intermediate item.
Conditional breakpoints in a JavaIDE are java expressions, so the logic will be something like "tag.text.equals("november")".
When it comes to destroying a civilization, gas chambers cannot hold a candle to echo chambers.
posted 3 weeks ago
Thank you so much. I will try the options out.
Whose rules are you playing by? This tiny ad doesn't respect those rules:
global solutions you can do in your home or backyard