and require people to use it, but I'd like to use a custom serializer instead. Is there any example to do such thing?
I see many examples where structures are flattened (e.g. you remove a
{}
container), but couldn't find one where you do the opposite (nest data in a new
You can simplify it a bunch if you only need it for the Sms class. Combine the Serializer and Deserializer classes into one KSerializer<Sms>, remove nbtFile, and replace nbtFile.tagName with