From 7bab164a420b8d575f9690715af8f213c2a32efe Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 26 Dec 2016 15:18:42 +0300 Subject: juick-www: ignore unused properties of twitter User object --- juick-www/src/main/java/com/juick/www/twitter/User.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'juick-www/src/main/java/com/juick/www') 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; -- cgit v1.2.3