-
-
Notifications
You must be signed in to change notification settings - Fork 143
Closed
Description
I tried to upgrade Jackson in my Scala project today, and was met with several failing tests. I tracked this down to a behavior change from jackson-module-scala 2.7.3 -> 2.7.4. The issue is that empty Option
s now serialize to null
. Prior to 2.7.3, they would be omitted from the output JSON.
Here's a project with a minimal failing testcase: https://github.com/ieure/jackson-scala-testcase
Based on this being an change in Option
behavior & starting with 2.7.4, I suspect #252 is related to the breakage.
Metadata
Metadata
Assignees
Labels
No labels