github Kotlin/kotlinx.serialization v1.13.0

50 minutes ago

This release is based on Kotlin 2.4.10 and reverts a breaking change introduced in 1.12.0.

Besides that, it improves JsonElement.toString performance.

Exceptions rework rollback

In 1.12.0, Json format start intercepting almost all exceptions thrown by serializers during serialization and
deserialization, and wrap them into a JsonException with additional information about JSON path and input.

The impact of the change was underestimated, and it was decided to revert the change.

Performance improvements

JsonElement.toString was rewritten and its improved twofold on some benchmarks. See #3296 and #3299 for details.

Don't miss a new kotlinx.serialization release

NewReleases is sending notifications on new releases.