Configure Jackson to ignore unknown properties
This commit is contained in:
@@ -22,6 +22,7 @@ public class ApiClient {
|
||||
.build();
|
||||
this.objectMapper = new ObjectMapper();
|
||||
this.objectMapper.registerModule(new JavaTimeModule());
|
||||
this.objectMapper.configure(com.fasterxml.jackson.databind.DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
||||
this.baseUrl = ApiConfig.getInstance().getBaseUrl();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user