On Mon, Jun 15, 2020 at 2:53 AM Bertil Muth <[email protected]> wrote: > > Thanks a lot. > The new syntax in the v0.0.6 version of Moonwlker > is now like this: > > ObjectMapper objectMapper = new ObjectMapper(); > > MoonwlkerModule module = > MoonwlkerModule.builder() > .fromProperty("type").toSubclassesOf(Person.class) > .build(); > > objectMapper.registerModule(module); > > More in the spirit of extensibility through modules. > I explain more options on the website.
Excellent! I could add a link to this module from main `FasterXML/jackson` repo's README, although need to think of how to classify it (under which section, how to describe). -+ Tatu +- -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/CAL4a10iyqdXb6aKX4vDPA3uX18%3DEG2uifcqG-eY1Dxk5BTaS2w%40mail.gmail.com.
