Juan Hurtado
10/02/2026, 8:22 AM@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