Skip to content

Deprecate coupling to Jackson-2 API#325

Open
randallwhitman wants to merge 3 commits into
masterfrom
dep-jackson-2
Open

Deprecate coupling to Jackson-2 API#325
randallwhitman wants to merge 3 commits into
masterfrom
dep-jackson-2

Conversation

@randallwhitman

Copy link
Copy Markdown
Contributor

Prepare for potential upgrade to Jackson-3.
for #324 (comment)

@randallwhitman randallwhitman requested a review from stolstov June 26, 2026 18:31
@stolstov

Copy link
Copy Markdown
Member

@randallwhitman It looks good. Would it also make sense to add a comment in the code what to do on deprecation warning?

@randallwhitman

randallwhitman commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Would it also make sense to add a comment in the code what to do on deprecation warning?

On those methods that have existing javadoc, i included the type-name of the argument that should be used instead. Let me know what would be a better message. (or go ahead update it as you see fit)

update: i commented updated wording - apply it if you like.



/**
* @deprecated String

@randallwhitman randallwhitman Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
* @deprecated String
* @deprecated Use jsonToGeometry(String)

}

/**
* @deprecated String

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
* @deprecated String
* @deprecated Use fromJson(String)

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