Skip to content

Conversation

anthologia
Copy link
Contributor

Fixes: #10304

Enhances type safety and consistency with Jackson 3 JSON-specific handling.

  • Replace ObjectMapper with JsonMapper across Spring Integration:
    • Core components: EmbeddedHeadersJsonMessageMapper, JacksonJsonObjectMapper, JacksonPropertyAccessor, MessageJsonDeserializer
    • Utilities: JacksonMessagingUtils.messagingAwareMapper()
    • Tests: Update test classes to use JsonMapper
  • Clean up unused IOException declaration in EmbeddedHeadersJsonMessageMapper

…nMapper` instances

Fixes: spring-projects#10304

Enhances type safety and consistency with Jackson 3 JSON-specific handling.

* Replace `ObjectMapper` with `JsonMapper` across Spring Integration:
  - Core components: `EmbeddedHeadersJsonMessageMapper`, `JacksonJsonObjectMapper`, `JacksonPropertyAccessor`, `MessageJsonDeserializer`
  - Utilities: `JacksonMessagingUtils.messagingAwareMapper()`
  - Tests: Update test classes to use `JsonMapper`
* Clean up unused `IOException` declaration in `EmbeddedHeadersJsonMessageMapper`

Signed-off-by: Jooyoung Pyoung <[email protected]>
@artembilan artembilan merged commit b4ba5df into spring-projects:main Sep 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refine Jackson 3-based classes to accept only JsonMapper instances for JSON
2 participants