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

Update Jackson Jr Retrofit 2 Converter for Retrofit 2.0.0 #37

Closed
GulajavaMinistudio opened this issue Feb 10, 2016 · 1 comment
Closed
Milestone

Comments

@GulajavaMinistudio
Copy link

There are some API changes in Retrofit 2 API in Converter.Factory class and OkHttp 3.
And we have create some gist to fix it , based on existing jackson jr retrofit 2 converter .
And it required Retrofit 2 Beta 4 or newer to use it.

Jackson Jr Converter Class
https://gist.github.com/GulajavaMinistudio/ff7d958b58ddac9049cd

Jackson Jr Request Body Converter Class
https://gist.github.com/GulajavaMinistudio/427b88c0a78845f775de

JacksonJrResponseArrayConverter class for converting JSON Array to List
https://gist.github.com/GulajavaMinistudio/ad6a1b04095c182a3f4b

JacksonJrResponseConverter class for converting JSON to JSON Object POJO
https://gist.github.com/GulajavaMinistudio/11e3900e1b0b6590ee3e

Hope it can help

@cowtowncoder cowtowncoder added this to the 2.7.3 milestone Mar 16, 2016
@cowtowncoder cowtowncoder changed the title Update for Jackson Jr Retrofit 2 Converter Update Jackson Jr Retrofit 2 Converter for Retrofit 2.0.0 Mar 16, 2016
@cowtowncoder
Copy link
Member

Thank you -- I updated code as suggested, will be included in 2.7.3.

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

2 participants