Show HN: Kencode – Compact Kotlin serialization for URLs and labels
eignex.com
eignex.com
To solve this, I built kencode as an extension for kotlinx.serialization. It automatically packs booleans and nullability into a single bit-header and uses ZigZag encoding to generate tight Base62 tokens. I wrote up a technical breakdown of the implementation.