By doing it on the companion object like you did there, it becomes the default serializer for that class. If that's the the behavior you want, then that looks good!
👍 1
j
Javier
10/22/2020, 9:51 AM
@Dominaezzz in that way you have to add the serializer to the SerializationModule or explicit it in Serializable
d
Dominaezzz
10/22/2020, 11:48 AM
Yeah, I like to be explicit with this sorta thing.