Glossary: Kotlin Beyond the Basics
@Serializable
Also written: @SerialName, SerializationException
`@Serializable` tells the plugin to generate JSON code for a class. `@SerialName` maps a differently named key, and bad input throws `SerializationException`.