Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[nosql-dev] The right way to get DefaultDocumentEntityConverter instance.

Hello,

The @Convert(AttributeConverter.class) is a simple way to provide custom serialization / deserialization mechanism similar to the JsonbAdapter. Unfortunately, unlike JSON-B, Jakarta NoSQL has no custom Serializers /Deserializers support. Deserializers in JSON-B are more useful for the polymorphism, because they provide the context so I can deserialize the object of choice easily once I decide on the type.

What is the correct way to to this from the custom converter class?
May I have an access to the DefaultDocumentEntityConverter?

Kind regards,

Dmitry



Back to the top