Thanks a lot.
The new syntax in the v0.0.6 version of Moonwlker
<https://github.com/bertilmuth/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.
--
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/2a552c2c-762b-4574-b561-8289d07a1e30o%40googlegroups.com.