Skip to content

Jackson 2.14+ requires higher minimum SDK level #3518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jpelgrom opened this issue May 6, 2023 · 3 comments · May be fixed by #5279
Open

Jackson 2.14+ requires higher minimum SDK level #3518

jpelgrom opened this issue May 6, 2023 · 3 comments · May be fixed by #5279
Labels
enhancement New feature or request

Comments

@jpelgrom
Copy link
Member

jpelgrom commented May 6, 2023

Is your feature request related to a problem? Please describe.

Jackson, which is used for JSON (de)serialization, requires a minimum SDK level of 26 for version 2.14+. The app's minimum SDK level is currently 21.

Jackson's 2.13 branch will remain supported until at least the end of 2023, but the app should make sure it's using a supported library for critical functionality like this.

Describe the solution you'd like

  • Increase the app's minimum SDK level (which isn't a bad idea anyway considering how long it's been at 21, though 21->26 is quite a big increase)

and/or

  • Switch to another library for JSON (de)serialization like Gson or Moshi (check minimum SDK level and plans for change first)

Describe alternatives you've considered, if any

Additional context

#3077, #3489

@jpelgrom
Copy link
Member Author

Looks like Retrofit 2.10 adds support for kotlinx.serialization - would this be a good candidate for replacement, as it supports whatever Kotlin supports and we're already using Kotlin anyway? I kind of like the idea of less orgs who can make dependencies difficult for us.

@dshokouhi
Copy link
Member

I kind of like the idea of less orgs who can make dependencies difficult for us.

I agree on this.

@JBassett
Copy link
Collaborator

Sounds like a good plan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants