~/talk

The Life-Changing Magic of Kotlin Multiplatform Serialization

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [android]
slides:none on file

Covers the kotlinx.serialization library that splits serialization vs encoding/decoding so a compile‑time compiler plugin generates serializer bytecode and a tiny runtime handles formats (JSON, ProtoBuf, CBOR; HOCON/YAML as JVM extras). One annotation (@Serializable) adds a companion.serializer that the JSON.stringify API uses; deserialization uses generated descriptors, a visitor pattern and a bitmask to track fields. Polymorphic types require register polymorphic subclasses in a module (no runtime reflection), the library is cross‑platform and usable in production today if you pin versions; schema generation/validation is planned.

AI-written summary · about

  1. 0:00Introduction to Kotlin serialization
  2. 5:58Basic serialization setup
  3. 13:17Simple serialization demo
  4. 21:31How serialization works behind the scenes
  5. 30:11Serialization vs encoding/decoding
  6. 35:22External serialization and customization
  7. 39:22Future plans and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.