diff options
author | 2019-02-23 19:58:37 +0300 | |
---|---|---|
committer | 2019-02-23 19:58:37 +0300 | |
commit | b0898ebd93a6aabdb58be182c3f8e9ac4f0b44b7 (patch) | |
tree | df2f0f2c418ab56ef8091d0fab3ff7cc85f511bf /src/main/java/com/juick/server/api/activity/model/Activity.java | |
parent | c6007957456199945cd0511861d54e24c8873fb7 (diff) |
Fix hubzilla deserialization
Diffstat (limited to 'src/main/java/com/juick/server/api/activity/model/Activity.java')
-rw-r--r-- | src/main/java/com/juick/server/api/activity/model/Activity.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/juick/server/api/activity/model/Activity.java b/src/main/java/com/juick/server/api/activity/model/Activity.java index ec126b88..2af14479 100644 --- a/src/main/java/com/juick/server/api/activity/model/Activity.java +++ b/src/main/java/com/juick/server/api/activity/model/Activity.java @@ -1,7 +1,11 @@ package com.juick.server.api.activity.model; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.juick.server.api.activity.helpers.ActivityIdDeserializer; + public abstract class Activity extends Context { + @JsonDeserialize(using = ActivityIdDeserializer.class) private String actor; private Object object; |