Re: [kryo] TypedAggregation Serialization and Deserialization

13 views
Skip to first unread message

Thomas Heigl

unread,
Feb 14, 2025, 5:02:05 AMFeb 14
to kryo-...@googlegroups.com
Please take a look at https://github.com/EsotericSoftware/kryo?tab=readme-ov-file#instantiatorstrategy

You can use Objenesis to create classes without default constructors. 

This works for most simple object graphs. If your aggregation is very complex, you might need to write a custom serializer for it.

On Thu, Feb 13, 2025 at 4:24 PM 'Tanmay Walekar' via kryo-users <kryo-...@googlegroups.com> wrote:
I'm building a complex aggregation pipeline and storing it in a TypedAggregation. But I can't serialize and deserialize it as it is immutable and doesn't have a default constructor. Is there any way to achieve this

--
You received this message because you are subscribed to the "kryo-users" group.
http://groups.google.com/group/kryo-users
---
You received this message because you are subscribed to the Google Groups "kryo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kryo-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/kryo-users/b14db5bb-3182-4f79-b789-aba92149d061n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages