Skip to content
Discussion options

You must be logged in to vote

The only difference is that builder-style is needed so something like:

        ObjectMapper mapper = JsonMapper.builder()
                .withConfigOverride(Map.class,
                        o -> o.setInclude(JsonInclude.Value.construct(JsonInclude.Include.NON_DEFAULT,
                            JsonInclude.Include.NON_ABSENT)))
                .build();

Hope this helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kwarkadiusz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants