On Thu, Jun 11, 2020 at 10:45 AM Bertil Muth <
Berti...@hood-group.com> wrote:
>
> Hi folks, I'm Bertil, I'm new to this group.
Hi Bertil. Welcome!
First of all, thank you for sharing this. I think many users could
find this useful.
One question I have is this: do you think it would be easy to make
Moonwlker a regular Jackson module?
Module itself could be built using builder-style construction, and
then registered to ObjectMapper, just like any other module.
While this might be slightly less convenient than building using your
package (and there is also question
of how to handle modules your package depends), there would be some
benefits due to vast number of
other modules Jackson has. For example, this approach to polymorphic
handling could be used with other
Jackson-support dataformats: XML, YAML, CSV, CBOR, Smile etc.
Similarly support for datatype modules (Guava, Joda) could be added.
Or more generally -- since some or all of above is also possible by
just extending Moonwlker builder API --
it'd probably be good to allow full extensibility that Jackson modules
offer, and document that on README.
Anyway, thank you again for sharing this with everyone,
-+ Tatu +-