Skip to content

#1810 Add Jackson3JsonpMapper#1879

Open
cthiele42 wants to merge 1 commit intoopensearch-project:mainfrom
cthiele42:main
Open

#1810 Add Jackson3JsonpMapper#1879
cthiele42 wants to merge 1 commit intoopensearch-project:mainfrom
cthiele42:main

Conversation

@cthiele42
Copy link

Description

Provide a Jackson3JsonpMapper implementation

  • add Jackson3JsonpMapper and companion classes
  • add Jackson3 test
  • add jackson3 dependencies

Issues Resolved

#1810

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

- add Jackson3JsonpMapper and companion classes
- add Jackson3 test
- add jackson3 dependencies

Signed-off-by: Claas Thiele <cthiele@ct42.de>
@@ -217,6 +218,8 @@ dependencies {
// Apache 2.0
implementation("com.fasterxml.jackson.core", "jackson-core", jacksonVersion)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you @cthiele42 , I would suggest to have 3.x line as a default for 4.x major release (we should not bring Jackson 2.x and 3.x dependencies at the same time):

Suggested change
implementation("com.fasterxml.jackson.core", "jackson-core", jacksonVersion)
compileOnly ("com.fasterxml.jackson.core", "jackson-core", jacksonVersion)
compileOnly ("com.fasterxml.jackson.core", "jackson-databind", jacksonDatabindVersion)

implementation("com.fasterxml.jackson.core", "jackson-databind", jacksonDatabindVersion)
implementation("tools.jackson.core", "jackson-core", jackson3Version)
implementation("tools.jackson.core", "jackson-databind", jackson3Version)
testImplementation("com.fasterxml.jackson.datatype", "jackson-datatype-jakarta-jsonp", jacksonVersion)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Probably needed:

  testImplementation("tools.jackson.datatype", "jackson-datatype-jakarta-jsonp", jackson3Version)

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.

2 participants