diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-01 20:57:49 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-01 20:57:49 -0800 |
commit | 5516ec3057eb3a38ad4b7bc42212afbac6d11adc (patch) | |
tree | 7670fae4027ff802f4294324fa6377e3e74c4e95 /src/main/java | |
parent | e845f799dd54bab6f580d405c51ef774a4491ab4 (diff) | |
download | trackermap-server-5516ec3057eb3a38ad4b7bc42212afbac6d11adc.tar.gz trackermap-server-5516ec3057eb3a38ad4b7bc42212afbac6d11adc.tar.bz2 trackermap-server-5516ec3057eb3a38ad4b7bc42212afbac6d11adc.zip |
Ignore unknown properties
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/model/Server.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/model/Server.java b/src/main/java/org/traccar/model/Server.java index a1406c6ee..80062cbb0 100644 --- a/src/main/java/org/traccar/model/Server.java +++ b/src/main/java/org/traccar/model/Server.java @@ -15,11 +15,13 @@ */ package org.traccar.model; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.traccar.database.QueryIgnore; import java.io.File; import java.lang.management.ManagementFactory; +@JsonIgnoreProperties(ignoreUnknown = true) public class Server extends ExtendedModel { private boolean registration; |