aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-01 20:57:49 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-01 20:57:49 -0800
commit5516ec3057eb3a38ad4b7bc42212afbac6d11adc (patch)
tree7670fae4027ff802f4294324fa6377e3e74c4e95 /src/main/java/org
parente845f799dd54bab6f580d405c51ef774a4491ab4 (diff)
downloadtrackermap-server-5516ec3057eb3a38ad4b7bc42212afbac6d11adc.tar.gz
trackermap-server-5516ec3057eb3a38ad4b7bc42212afbac6d11adc.tar.bz2
trackermap-server-5516ec3057eb3a38ad4b7bc42212afbac6d11adc.zip
Ignore unknown properties
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/model/Server.java2
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;