I am running into the json parsing issue when using a
ObjectMapper class from a
com.fasterxml.jackson.databind package, and a error that I am getting is:
com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of com.graybar.utilities.ups.beans.Address: no String-argument constructor/factory method to deserialize from String value ('')
A web application where this problem is occurring is the Spring MVC application using an AngularJS front end, but I can duplicate a issue with the much smaller, all java program.
Instead of sending values for the
Address bean, I am getting just the empty string. Unfortunately, I am receiving the data from a third party and have no control over a data I receive.
Is there any annotation that needs to be added to be able to remove this issue?