Slide 7
Slide 7 text
What is kotlinx.serialization?
• Annotations
• @SerialName: for overriding property name with
custom name.
• @Optional: will be considered during serialization. But
if not present, it won’t break serialization.
• @Transient: will not be considered during
serialization. But if present, it will cause an exception.
• Nesting
• are recursively serialized: enums, primitive types,
arrays, lists, maps and other serializable classes.