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

Working with List #2

Open
numanuddin1 opened this issue Oct 22, 2022 · 1 comment
Open

Working with List #2

numanuddin1 opened this issue Oct 22, 2022 · 1 comment

Comments

@numanuddin1
Copy link

Hello,
How to fetch list using baseclient, i want to fetch a list instead of single String response

@afzalali15
Copy link
Owner

BaseClient gives you dynamic response, so you can parse it to any type.
If your JSON have List [square brackets] as the root then just go ahead and parse it to List.

You can convert model for your json on app.quicktype.io

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