Skip to content
This repository has been archived by the owner on Oct 31, 2022. It is now read-only.

Adding getObject that accepts Gson TypeToken #4

Closed
Megamiun opened this issue Sep 21, 2017 · 0 comments · Fixed by #5
Closed

Adding getObject that accepts Gson TypeToken #4

Megamiun opened this issue Sep 21, 2017 · 0 comments · Fixed by #5

Comments

@Megamiun
Copy link
Contributor

Hello,

I really loved your library, it helped me testing some features in my prototype.

But, using maps in Kotlin, I had some difficulties trying to get the map automatically filled. After some time trying to make things work, I remembered that Gson has a TypeToken interface that solved cases like that.

Sincerely, I already made a fork from your project and created the method, it worked perfectly here. I think it would be a good addition to your project, so I am going to create a PR. Hope you can accept it soon, as I would prefer to add your lib on gradle instead of maintaining a module adjacent to my project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant