Replies: 5 comments 13 replies
-
I'm commuting do hard to provide a full answer. Have a look at a 2.x test that uses this feature on then switch to branch 3.x. Correct the directory for 3.x - |
Beta Was this translation helpful? Give feedback.
-
All configuration in 3.x is via mapper builders ( As to documenting changes; unfortunately I started creating issues only half-way through removals so some of explicit removal history is undocumented. None of JSTEPs is quite relevant either (https://github.com/FasterXML/jackson-future-ideas/wiki/JSTEP-1, https://github.com/FasterXML/jackson-future-ideas/wiki/JSTEP-2 and https://github.com/FasterXML/jackson-future-ideas/wiki/JSTEP-6 all bit overlapping). But given the situation, what would be a good way to start collecting info on most commonly asked removals? (in practice we do not have resources to do it systematically) Some things to consider: it'd be good
Another orthogonal thing would be to add forward-looking Javadocs in 2.x to indicate things that will be removed from 3.x, |
Beta Was this translation helpful? Give feedback.
-
As the "least thing I could do", filed and resolved #5270 (wrt Same for #5272 (wrt |
Beta Was this translation helpful? Give feedback.
-
There is #1967 that we could use instead. I will update that issue too. How about this: @odrotbohm you can add cases you find here, and then work can be added, #1967 updated as appropriate. |
Beta Was this translation helpful? Give feedback.
-
I've added a tiny thing regarding ISO times. The default rendering for UTC is now a trailing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ObjectMapper.setSerializationInclusion(…)
->JsonMapper.builder().changeDefaultPropertyInclusion(incl -> incl.withValueInclusion(…))
ObjectMapper.setSerializationInclusion()
from 3.0 (deprecate in 2.20) #5270ObjectMapper.getRegisteredModuleIds()
->ObjectMapper.getRegisteredModules()
ObjectMapper.getRegisteredModuleIds()
(2.x) withObjectMapper.getRegisteredModules()
(3.0) #5272Z
instead of a+00
as they did in 2.xBeta Was this translation helpful? Give feedback.
All reactions