deps(kotlin): bump org.jetbrains.kotlinx:kotlinx-serialization-json from 1.12.0 to 1.13.0 in /kotlin in the kotlinx group
Bumps the kotlinx group in /kotlin with 1 update: org.jetbrains.kotlinx:kotlinx-serialization-json.
Updates org.jetbrains.kotlinx:kotlinx-serialization-json from 1.12.0 to 1.13.0
Release notes
Sourced from org.jetbrains.kotlinx:kotlinx-serialization-json's releases.
v1.13.0
This release is based on Kotlin 2.4.10 and reverts a breaking change introduced in 1.12.0.
Besides that, it improves
JsonElement.toStringperformance.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.toStringwas rewritten and its improved twofold on some benchmarks. See #3296 and #3299 for details.
Changelog
Sourced from org.jetbrains.kotlinx:kotlinx-serialization-json's changelog.
1.13.0 / 2026-11-10
This release is based on Kotlin 2.4.10 and reverts a breaking change introduced in 1.12.0.
Besides that, it improves
JsonElement.toStringperformance.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
JsonExceptionwith 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.toStringwas rewritten and its improved twofold on some benchmarks. See #3296 and #3299 for details.
Commits
0cd830bPrepare 1.13.0 released3f600bMerge remote-tracking branch 'origin/master' into dev709df0cRevert "Add exception handling to decodeSerializableValue in Json decoders"d5d89c6Revert "Add exception handling to encodeSerializableValue in Json encoders"10af414Revert "Simplify try-catching during polymorphic Json operations."6f6a2e6feat: rewrite and migrate documentation to kotlinlang.org (#3055)abc83fdReproducer for #3301 (#3302)5bf28c7Reject values after the closing bracket of an array in parseToJsonElement (#3...972a5a7More efficient JsonElement.toString (#3299)a2a998eAddressed various compilation warnings (#3255)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Summary by cubic
Updates kotlinx-serialization-json from 1.12.0 to 1.13.0 in /kotlin. This reverts the exception-wrapping change introduced in 1.12.0, so serializers no longer have their exceptions intercepted and wrapped in JsonException, and improves JsonElement.toString performance.