Kotlinx.serialization: Building Your Own Serialization Library
summary
An overview of kotlinx.serialization showing how to use the library both as an end user and as a framework for implementing custom serializers. Based on the author’s experience building the multiplatform KToml TOML serializer, it covers library internals, integration patterns in Kotlin code, architectural choices, and practical pitfalls when writing an open-source serialization/deserialization library.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:08Start of talk
- 8:10What is kotlinx.serialization
- 16:39Decoder and encoder basics
- 24:29Built-in types and descriptors
- 32:57How the compiler plugin works
- 35:44Decompiling generated code
- 46:38Pitfalls and errors in development
- 50:51Community role and tips
- 51:52Conclusion and call to action
related talks
31mDesign of Kotlin Serialization
27mkotlinx.serialization 1.0
24mWhat is Kotlin Serialization, and should I use it?
36mPerformant Multiplatform Kotlin Serialization
42mPerformant Multiplatform Kotlin Serialization
43mSpring and Kotlin: Work with Any Format!
48mBuild Your Java/Kotlin Library
47mExtending kotlinx.serialization with Arrow Meta
