From 3fdfb3cf70d621f02e1fb8c98c56c43c445c3c34 Mon Sep 17 00:00:00 2001 From: Henry Le Grys Date: Sat, 27 Feb 2021 22:57:08 +0000 Subject: [PATCH] Ignore unknown properties when deserializing LatestVersionInfo --- .../java/com/skcraft/launcher/selfupdate/LatestVersionInfo.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/launcher/src/main/java/com/skcraft/launcher/selfupdate/LatestVersionInfo.java b/launcher/src/main/java/com/skcraft/launcher/selfupdate/LatestVersionInfo.java index 80ff6a9..1b14b84 100644 --- a/launcher/src/main/java/com/skcraft/launcher/selfupdate/LatestVersionInfo.java +++ b/launcher/src/main/java/com/skcraft/launcher/selfupdate/LatestVersionInfo.java @@ -6,11 +6,13 @@ package com.skcraft.launcher.selfupdate; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.Data; import java.net.URL; @Data +@JsonIgnoreProperties(ignoreUnknown = true) public class LatestVersionInfo { private String version;