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:
@@ -0,0 +1,17 @@
|
||||
== class hierarchy ==
|
||||
J2 JsonProcessingException extends com.fasterxml.jackson.core.JacksonException -> extends java.io.IOException
|
||||
J3 JacksonException extends java.lang.RuntimeException
|
||||
|
||||
== malformed JSON ==
|
||||
J2 com.fasterxml.jackson.core.JsonParseException
|
||||
Unexpected character ('}' (code 125)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
|
||||
at line 1, column 27
|
||||
J3 tools.jackson.core.exc.StreamReadException
|
||||
Unexpected character ('}' (code 125)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
|
||||
at line 1, column 27
|
||||
|
||||
== wrong value type ==
|
||||
J2 InvalidFormatException
|
||||
J3 InvalidFormatException (path: [articleId])
|
||||
|
||||
stream + lambda parsed 2 articles with no try/catch
|
||||
Reference in New Issue
Block a user