We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc66348 commit b0d7a1bCopy full SHA for b0d7a1b
src/test/java/com/fasterxml/jackson/databind/jsontype/jdk/TypedArraySerTest.java
@@ -75,7 +75,11 @@ static class BeanListWrapper {
75
/**********************************************************
76
*/
77
78
- private final ObjectMapper MAPPER = new ObjectMapper();
+ // Since one of the tests uses VIEW inclusion, let's specify inclusion
79
+ // (as default varies between Jackson 2.x and 3.x)
80
+ private final ObjectMapper MAPPER = jsonMapperBuilder()
81
+ .enable(MapperFeature.DEFAULT_VIEW_INCLUSION)
82
+ .build();
83
84
@Test
85
public void testListWithPolymorphic() throws Exception
0 commit comments