Json – How do I make ObjectMapper ignore empty string fields during deserialization?
I have this service method for my edit API that maps my pojo class to an entity class for update operation. The CustomerDetail is my Dto class. public CustomerRegistration editCustomerDetails (Long id, CustomerDetail customerDetail) throws JsonMappingException { CustomerRegistration customer =…