Skip to content

Commit

Permalink
Fixed mtgjson compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDi85 committed Apr 28, 2019
1 parent 73ad2fa commit 00633ce
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Mage.Verify/src/main/java/mage/verify/JsonLegalities.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
package mage.verify;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import static mage.verify.MtgJson.MTGJSON_IGNORE_NEW_PROPERTIES;

@JsonIgnoreProperties(ignoreUnknown = MTGJSON_IGNORE_NEW_PROPERTIES)
public class JsonLegalities {
@JsonProperty("1v1")
public String oneVersusOne;
Expand Down
5 changes: 5 additions & 0 deletions Mage.Verify/src/main/java/mage/verify/JsonMeta.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
package mage.verify;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import static mage.verify.MtgJson.MTGJSON_IGNORE_NEW_PROPERTIES;

@JsonIgnoreProperties(ignoreUnknown = MTGJSON_IGNORE_NEW_PROPERTIES)
public class JsonMeta {
public String date;
public String version;
Expand Down
5 changes: 5 additions & 0 deletions Mage.Verify/src/main/java/mage/verify/JsonRuling.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
package mage.verify;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import static mage.verify.MtgJson.MTGJSON_IGNORE_NEW_PROPERTIES;

@JsonIgnoreProperties(ignoreUnknown = MTGJSON_IGNORE_NEW_PROPERTIES)
public class JsonRuling {
public String date;
public String text;
Expand Down

0 comments on commit 00633ce

Please sign in to comment.