diff options
author | Vitaly Takmazov | 2016-12-26 15:18:42 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-26 15:18:42 +0300 |
commit | 7bab164a420b8d575f9690715af8f213c2a32efe (patch) | |
tree | 5685de5a50191dbb1bf83fb1a0cfb39311ee6e3c /juick-www/src | |
parent | f7931604be50db929e90a9bbed194d2d7014fd98 (diff) |
juick-www: ignore unused properties of twitter User object
Diffstat (limited to 'juick-www/src')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/twitter/User.java | 2 |
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; |