:rocket: Ghost Serializer 1.3.3 is out — a fast, l...
# feed
j
🚀 Ghost Serializer 1.3.3 is out — a fast, low-allocation KMP serializer (JSON, YAML, Proto3 JSON) generated with KSP. New since 1.3.1: • No more manual registration on iOS/Wasm — a small compiler plugin, applied by the Gradle plugin, links each
@GhostSerialization
class to its serializer at compile time (associated objects, like kotlinx.serialization). No
Ghost.addRegistry()
needed. • Kotlin 2.2.21+ (was 2.4.0) — verified in CI on 2.2.21, 2.3.21 and 2.4.0 • JSONPath on decode errors (
$.user.addresses[1].zip
) plus fix hints for common failures • Faster decoding (SWAR number parsing), with no extra allocation Bug fixes: • `Double`/`Float` round trips are now exact (some values used to come back slightly different) • YAML writer: keys with leading/trailing spaces or special characters are quoted correctly • String-channel decode no longer crashes on a non-Latin-1 char inside a
\u
escape • Models whose defaults reference nested classes compile again • Android AARs no longer require
compileSdk 36
• Gradle plugin works alongside Ktorfit-style shared KSP output (no duplicate serializers)
implementation("com.ghostserializer:ghost-serialization:1.3.3")
Release notes: github.com/juanchurtado1991/ghost-serializer/…/v1.3.3 GitHub: github.com/juanchurtado1991/ghost-serializer
👍🏻 1
🦜 2
🚀 2
👍 2