https://kotlinlang.org logo
#serialization
Title
# serialization
c

christophsturm

04/07/2022, 9:16 AM
is it possible to make idea issue a warning if a data class with enums that have no
@SerialId
is serialized to protobuf? (protobuf serializes enums as ints and when they have no serialId the order matters. In json thats not a problem because enums are serialized as string.
p

Paul Woitaschek

04/07/2022, 4:38 PM
Yep, that sounds like a lint job
4 Views