android icon indicating copy to clipboard operation
android copied to clipboard

Jackson 2.14+ requires higher minimum SDK level

Open jpelgrom opened this issue 2 years ago • 3 comments

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 avatar May 06 '23 09:05 jpelgrom

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.

jpelgrom avatar Mar 26 '24 15:03 jpelgrom

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

I agree on this.

dshokouhi avatar Mar 26 '24 15:03 dshokouhi

Sounds like a good plan

JBassett avatar Mar 26 '24 16:03 JBassett