cph-cachet / carp-webservices-spring

REST-based implementation of the CARP Core Domain Model using Spring Boot in Kotlin
https://carp.dk
MIT License
3 stars 2 forks source link

Change serialization strategy #123

Closed yuanchen233 closed 2 months ago

yuanchen233 commented 3 months ago

Using Kotlinx json serializer instead of Jakson wrapper. This avoid converting incoming http messages into Jackson TreeNode before using core Json serializer. Error handling in Jackson TreeNode were redundant, since kotlinx.serialization is eventually used.

Main changes:

Reasons/Advantages:

Other notes and TODOs:

davidscavnicky commented 2 months ago

this is to be merged, since I want to follow up on unit tests. unsure if @NGrech wants to review this or the talk we had about this change was sufficient