FasterXML / jackson-module-kotlin

Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.
Apache License 2.0
1.12k stars 175 forks source link

Changes in constructor invocation and argument management #755

Closed k163377 closed 8 months ago

k163377 commented 8 months ago

In order to support deserialization using value class, it has been unified to call KCallable for instantiation during deserialization(#199, #650).

This degrades deserialization performance in cases where the Creator is the constructor and all arguments have been set.

At the same time, the way arguments are managed has been improved. This improves deserialization performance for the cases where default arguments are used and where the Creator is a factory function and all arguments are set.