diff options
author | Vitaly Takmazov | 2016-11-28 14:37:02 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-11-28 14:37:02 +0300 |
commit | 5b2bd7f928bbf9d3233ff029ed5c09ac46daf0de (patch) | |
tree | cfad7f15e35c51d11a488df5a9b2be5300b9af54 /juick-www/src/main/java/com/juick/www/twitter | |
parent | c252087c54e91e63f89775eba4c65cf87ae21e5d (diff) |
all components using jackson now, org.json serializer moved to compatibility tests package
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/twitter')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/twitter/User.java | 19 |
1 files changed, 19 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 new file mode 100644 index 00000000..47b90f9a --- /dev/null +++ b/juick-www/src/main/java/com/juick/www/twitter/User.java @@ -0,0 +1,19 @@ +package com.juick.www.twitter; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Created by vitalyster on 28.11.2016. + */ +public class User { + private String screenName; + + @JsonProperty("screen_name") + public String getScreenName() { + return screenName; + } + + public void setScreenName(String screenName) { + this.screenName = screenName; + } +} |