Open sschuberth opened 3 years ago
FYI @mnonnenmacher, as we recently talked about this.
My idea is to start with migrating the independent clients from Jackson to kotlinx-serialization, just to see how it looks like and / or what the performance changes are. For the fun of it, I started with the vulnerable-code
client in https://github.com/oss-review-toolkit/ort/tree/vc2kxs.
For the fun of it, I started with the
vulnerable-code
client in https://github.com/oss-review-toolkit/ort/tree/vc2kxs.
- No property naming strategies
- Can we live with camel-case instead of snake-case in ORT result files?
Looks like they changed their mind: https://github.com/Kotlin/kotlinx.serialization/pull/2111
Looks like they changed their mind: Kotlin/kotlinx.serialization#2111
This has been merged 😀
With kotlinx-serialization 1.5.0 setting a JSON naming strategy is now fully supported.
An interesting article about why not to use Jackson: https://blog.lahteenmaki.net/making-jackson-tolerable.html
Benefits of kotlinx-serialization:
Blockers for the migration to kotlinx-serialization:
Current Gradle modules that still depend on Jackson (edited as needed):