any ideas of how to not use the same data class to...
# announcements
l
any ideas of how to not use the same data class to receive / send json like data ? , thanks in advance 🙂
k
Maybe I'm misunderstanding you problem, but the error message says the class within the annotation has to implement
TypeAdapter
or
TypeAdapterFactory
, while you're implementing
JsonDeserializer
. Just implement the correct one to fix the issue.
l
I will try after work, thank you 👍
Funny thing, i updated the dependency "com.google.code.gson" to version = 2.8.1 and it works without any code changes