Skip to content

v1.13.0

Latest

Choose a tag to compare

@fzhinkin fzhinkin released this 11 Nov 18:57
· 1 commit to master since this release

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 started intercepting almost all exceptions thrown by serializers during serialization and deserialization, and wrapping 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.