Repository navigation
Conversation
Spring Boot 4 uses Jackson 3 by default, and the other JSON examples already use camel-jackson3-starter. docling and vault were the last two examples using the Jackson 2 data format (camel-jackson-starter). Verified by running both examples per their README against containers, on Jackson 2 first and then on Jackson 3: - vault: GET /api/cars output is identical. - docling: Markdown output is identical; the extracted metadata JSON is semantically equal, but properties are now in alphabetical order (Jackson 3 default SORT_PROPERTIES_ALPHABETICALLY). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: CAMEL-22857 (Add support for Jackson 3)
Summary
Spring Boot 4 uses Jackson 3 by default, and most JSON examples already use
camel-jackson3-starter.doclingandvaultwere the last two examples on the Jackson 2 data format (camel-jackson-starter). This PR moves them tocamel-jackson3-starter. Their routes need no change, because both lines register the samejacksondata format name.The other examples were checked against the Jackson 2 → 3 migration rules (with
dependency:treeon every module, plus a source search for Jackson imports,onExceptionclauses, mapper beans andcamel.dataformat.jackson.*/spring.jackson.*properties). Nothing else needs to change:ai-agentgetscamel-jacksonthroughcamel-jq-starter. It only usesjqexpressions, which need Jackson 2, and no JSON data format.twitter-salesforceonly usescom.fasterxml.jackson.annotation, which is shared by both Jackson lines.Verification
Each example was run per its README (Vault + Postgres, docling-serve in containers), first on Jackson 2 and then on Jackson 3:
vault[{"brand":"Ford","model":"Mustang","year":2024}]docling(Markdown)docling(metadata JSON){"schema_name":"DoclingDocument","version":…}{"body":…,"furniture":…}), the Jackson 3 defaultSORT_PROPERTIES_ALPHABETICALLY./mvnw -pl vault,docling clean installpasses. Neither example has tests.Claude Code on behalf of Federico Mariani