Using Jackson Deduction to Simplify Deserialisation

I find the documentation for Jackson is on the terse side, and dare I say obstructively self-referential. If you aren’t moved fully to tears by the Javadoc entries for JsonTypeInfo.As, you deserve an ACM award. In short: I need a helpful and up-to-date guide, so I’m writing one. What are we trying to do? We often want to vary the content of our JSON. It’s integral to the Envelope pattern for instance....

May 30, 2024 · 3 min · 465 words