java - Parsing nested objects with Jackson - Stack Overflow
The main problem lies inside of UserPreferences. Right now your code is attempting to deserialize "1" as a boolean. Java will not do this translation for you, so you will need to create a custom deserializer and apply it to the fields with numeric booleans.
Read full article from java - Parsing nested objects with Jackson - Stack Overflow
No comments:
Post a Comment