Skip to content
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

[Android] Abstract serialiser #130

Open
serj-lotutovici opened this issue Jul 20, 2017 · 0 comments
Open

[Android] Abstract serialiser #130

serj-lotutovici opened this issue Jul 20, 2017 · 0 comments

Comments

@serj-lotutovici
Copy link

Currently the android library uses Jackson as a serialisation library. This makes Jackson a transitive dependency that lands in the consumers dependency tree.

My proposal would be to adapt a more agnostic approach and create an abstraction layer like a Converter (similar to the one in https://github.com/square/retrofit) and allow consumers to select different types of implementations via different artefacts.
There are at least 3 popular libraries used in Android development, so at lest does can be added as standalone artefacts:

  • native-navigation-converter-gson for Gson
  • native-navigation-converter-moshi for Moshi
  • native-navigation-converter-jackson forJackson.
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

No branches or pull requests

1 participant