aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-26 15:18:42 +0300
committerGravatar Vitaly Takmazov2016-12-26 15:18:42 +0300
commit7bab164a420b8d575f9690715af8f213c2a32efe (patch)
tree5685de5a50191dbb1bf83fb1a0cfb39311ee6e3c /juick-www/src/main
parentf7931604be50db929e90a9bbed194d2d7014fd98 (diff)
juick-www: ignore unused properties of twitter User object
Diffstat (limited to 'juick-www/src/main')
-rw-r--r--juick-www/src/main/java/com/juick/www/twitter/User.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-www/src/main/java/com/juick/www/twitter/User.java b/juick-www/src/main/java/com/juick/www/twitter/User.java
index 47b90f9a..eff629e7 100644
--- a/juick-www/src/main/java/com/juick/www/twitter/User.java
+++ b/juick-www/src/main/java/com/juick/www/twitter/User.java
@@ -1,10 +1,12 @@
package com.juick.www.twitter;
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Created by vitalyster on 28.11.2016.
*/
+@JsonIgnoreProperties(ignoreUnknown = true)
public class User {
private String screenName;