We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48dbfbc + 5d72c14 commit b094075Copy full SHA for b094075
1 file changed
src/main/java/com/bugsnag/serialization/Serializer.java
@@ -13,10 +13,12 @@ public class Serializer {
13
/**
14
* Constructor.
15
*/
16
+ // Use deprecated method to ensure we don't break with older versions of jackson
17
+ @SuppressWarnings("deprecation")
18
public Serializer() {
19
mapper
20
.setSerializationInclusion(JsonInclude.Include.NON_EMPTY)
- .setVisibility(
21
+ .setVisibilityChecker(
22
mapper.getVisibilityChecker().with(JsonAutoDetect.Visibility.NONE));
23
}
24
0 commit comments