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 10b485e commit 649b9c7Copy full SHA for 649b9c7
java/src/test/java/io/cucumber/testngxmlformatter/Jackson.java
@@ -15,7 +15,7 @@ final class Jackson {
15
public static final ObjectMapper OBJECT_MAPPER = JsonMapper.builder()
16
.addModule(new Jdk8Module())
17
.addModule(new ParameterNamesModule(Mode.PROPERTIES))
18
- .serializationInclusion(Include.NON_ABSENT)
+ .defaultPropertyInclusion(construct(NON_ABSENT, NON_ABSENT))
19
.constructorDetector(ConstructorDetector.USE_PROPERTIES_BASED)
20
.enable(SerializationFeature.WRITE_ENUMS_USING_TO_STRING)
21
.enable(DeserializationFeature.READ_ENUMS_USING_TO_STRING)
0 commit comments