For the following code snippet:
public static final ObjectMapper USER_PREFS_MAPPER =
configureDefaultObjectMapper(JsonMapper.builder(SmileFactory.builder()
.disable(ENCODE_BINARY_AS_7BIT)
.enable(CHECK_SHARED_STRING_VALUES)
.build()).build()
).enableDefaultTyping(ObjectMapper.DefaultTyping.JAVA_LANG_OBJECT,
JsonTypeInfo.As.WRAPPER_ARRAY);
The *enableDefaultTyping* is now deprecated, I have looked for alternatives
within the builder but it is not very straight forward, how can I
accomplish this again without using its deprecated form?
--
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/3c78a8fd-9bb0-41f0-807f-6f42fc2a014b%40googlegroups.com.