You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every CORE application service has its own serializer and deserializer which we use in ObjectMapperConfig, but that doesn’t necessarily have to be like that; we can create a generic serializer factory that gets an input type on call, which is the type of object it serializes (or some other solution)
The objective is to not have to create a new serializer/deserializer instance every time there is a new object added to core, but instead where we could just declare the type and that’s it.
We will use the Kotlin serializers
The text was updated successfully, but these errors were encountered:
All serialization involving core is using Kotlinx.serialization now, with one exception: datastreams, datastream is saved in database as snapshots, which is not related to core Snapshot.
Some Portal specific endpoint with webservice data type is still using Jackson serializer, this will be fine as long as there is no core data type involved. However, if we want to configure Spring to use kotlinx.serialization by default, all those type need to be annotated with Serializable
Every CORE application service has its own serializer and deserializer which we use in ObjectMapperConfig, but that doesn’t necessarily have to be like that; we can create a generic serializer factory that gets an input type on call, which is the type of object it serializes (or some other solution)
The objective is to not have to create a new serializer/deserializer instance every time there is a new object added to core, but instead where we could just declare the type and that’s it.
We will use the Kotlin serializers
The text was updated successfully, but these errors were encountered: