I want to pass objects between Activities and Services on Android. The straight forward way to do this is to make your objects implement Serializabl
e or Parcelable
.
Serializable
it's relatively bad performance.Parcelable
on the other hand requires me to implement and maintain the serialization myself i.e. always to remember to update it in the future.
I was thinking about using Jackson Json serializer for this task. It's faster than Java built in serialization and does not require me write and maintain serializtion code.
What you think?