You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Biao Liu <mm...@gmail.com> on 2019/09/02 14:46:59 UTC

Re: Is it possible to register a custom TypeInfoFactory without using an annotation?

Hi,

Java supports customization of serializer/deserializer, see [1]. Could it
satisfy your requirement?

1. https://stackoverflow.com/questions/7290777/java-custom-serialization

Thanks,
Biao /'bɪ.aʊ/



On Mon, 26 Aug 2019 at 16:34, 杨力 <bi...@gmail.com> wrote:

> I'd like to provide a custom serializer for a POJO class. But that class
> cannot be modified so it's not possible to add a @TypeInfo annotation to
> it. Are there any other ways to register one?
>