objectmapper-jsonmapper: Jackson 2.23.0 vs 3.3.0 side by side (ObjectMapper/JsonMapper guide rewrite)

Seven runnable programs P01-P07 plus five compile-failure files, JDK 25, no docs/ folder.
Output in objectmapper-jsonmapper/output/ is regenerated by scripts/run-all.sh.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b75Ao6imWN5bj7FHVw
This commit is contained in:
2026-11-17 00:53:38 +05:30
co-authored by Claude Sonnet 5.5
parent 1d0cd8b36e
commit f5ed5d1605
26 changed files with 857 additions and 0 deletions
@@ -0,0 +1,19 @@
Jackson 2 2.23.0 -> {"articleId":1,"title":"Jackson Deep Dive","tags":["java","json"],"subtitle":null}
Jackson 3 3.3.0 -> {"articleId":1,"subtitle":null,"tags":["java","json"],"title":"Jackson Deep Dive"}
identical JSON: false
Jackson 2 read title: Jackson Deep Dive
Jackson 3 read title: Jackson Deep Dive
{
"articleId" : 1,
"subtitle" : null,
"tags" : [ "java", "json" ],
"title" : "Jackson Deep Dive"
}
m2 class: com.fasterxml.jackson.databind.ObjectMapper
m3 class: tools.jackson.databind.json.JsonMapper
m3 superclass: tools.jackson.databind.ObjectMapper
m3 is-a tools.jackson.databind.ObjectMapper: true
@JsonInclude lives in: com.fasterxml.jackson.annotation