Correct, `SimpleSerializers`/`-Deserializers` won't work for generic types in general, and structured types specifically.
On implementations that do support these, `jackson-datatype-guava` from https://github.com/FasterXML/jackson-datatypes-collections/ might be a good example: it supports some of Guava's Map etc types. -+ Tatu +- On Thu, Aug 31, 2023 at 12:59 PM Gabriele Paganelli <gabriele.pagane...@gmail.com> wrote: > > > By module here I mean a Jackson module. > > On Thu, 31 Aug 2023, 17:18 gapag, <gabriele.pagane...@gmail.com> wrote: >> >> >> Could you give examples/pointers to e.g. create a module with 'good fits' >> to handle generic types, both serializing and deserializing them? >> >> E.g. where should I look to define a module that >> * does not use `SimpleSerializers`, because... >> * has custom serializer/deserializer for >> * `Collection<Integer>` >> * `Collection<BigDecimal>` >> * `Map<Integer, List<String>>` >> * and uses defaults for all other types >> > -- > You received this message because you are subscribed to the Google Groups > "jackson-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jackson-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jackson-user/CA%2BtOLyERexUhi79jfjtow3qRAYzjBQp%3D1uhxx9GndrQY9B%2BB2Q%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to jackson-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/CAL4a10hiU4Hz-nNv-t%3DYYZ%3DKRoEB9K0YwrbphS5b8Hje7iFLUA%40mail.gmail.com.