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

What about JSONArray requests ? #5

Open
TZK- opened this issue May 26, 2017 · 0 comments
Open

What about JSONArray requests ? #5

TZK- opened this issue May 26, 2017 · 0 comments

Comments

@TZK-
Copy link

TZK- commented May 26, 2017

Hello,

I have to work with an API which returns a collection of item.

How can I handle this since there is nothing for ?

I can only call asJsonObject on my request which finally raise an exception:

java.lang.ClassCastException: Cannot cast com.google.gson.JsonArray to com.google.gson.JsonObject
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