Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Commit

Permalink
ignore unknown fields
Browse files Browse the repository at this point in the history
  • Loading branch information
motoki317 committed Feb 16, 2023
1 parent 92453ed commit a618370
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/api/wynn/structs/Territory.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package api.wynn.structs;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
Expand All @@ -11,6 +12,7 @@
import java.text.SimpleDateFormat;
import java.util.Date;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Territory {
private static final ObjectMapper mapper = new ObjectMapper();

Expand Down

0 comments on commit a618370

Please sign in to comment.