Skip to content

Fix Jackson PropertyNamingStrategy removed in 2.14#194

Merged
AndyMoreland merged 1 commit into
mainfrom
andrew/fix-jackson-property-naming-strategy
Apr 2, 2026
Merged

Fix Jackson PropertyNamingStrategy removed in 2.14#194
AndyMoreland merged 1 commit into
mainfrom
andrew/fix-jackson-property-naming-strategy

Conversation

@AndyMoreland

Copy link
Copy Markdown
Contributor

Summary

  • Use PropertyNamingStrategies.SNAKE_CASE instead of the removed PropertyNamingStrategy.SNAKE_CASE constant (removed in Jackson 2.14)

Test plan

  • Compiles against Jackson 2.14+

🤖 Generated with Claude Code

Use PropertyNamingStrategies.SNAKE_CASE instead of the removed
PropertyNamingStrategy.SNAKE_CASE constant.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 2, 2026 18:06

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR due to label

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Jackson usage to remain compatible with Jackson 2.14+ by switching from the removed PropertyNamingStrategy.SNAKE_CASE constant to PropertyNamingStrategies.SNAKE_CASE.

Changes:

  • Replace PropertyNamingStrategy import with PropertyNamingStrategies.
  • Update ObjectMapper#setPropertyNamingStrategy(...) to use PropertyNamingStrategies.SNAKE_CASE.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@AndyMoreland AndyMoreland merged commit e52915a into main Apr 2, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants