https://kotlinlang.org logo
k

karelpeeters

11/02/2017, 4:54 PM
Well they already have a "default" implemetation in
java.lang.Object
that serializes all of the fields, implementing the interface is just a flag.