Skip to content

Nested JSON parse isn't works #23

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

Open
rmrosi opened this issue Jun 3, 2024 · 2 comments
Open

Nested JSON parse isn't works #23

rmrosi opened this issue Jun 3, 2024 · 2 comments

Comments

@rmrosi
Copy link

rmrosi commented Jun 3, 2024

          Ignacio,

Since the email response does not support markdown format, I am resending the message with the inclusion of images:
"
Hi Ignacio,

Thank you for your response! But unfortunately I still haven´t been able to make it work. I tried a set of possible combinations for this JSON parse! Below is a list of these attempts:

A "Random User" data type from JSON, as suggested by you:
image1

And the API Call knowin that the endpoint will provide a list of Random
Users inside the field "results":
image2

Then I called the API in column component:
image3

An the ListView, I tried to parse to DataType:
image4

However, I get the following error:
image5

Then, I created a following data type:
image6

And adjusted the API:
image7

And adjust listview:
image8

The error is solving, but didn´t work yet:
image9

I tried the other combinations of adjustments, for example, turn on the checkbox Is List in the API, but it didn't work.

The only way I could make it work was using a flat JSON structure, without nested JSON structure! I would really appreciate it if you could give me a step-by-step guide on how to make a nested JSON parse works!
"
Thanks in advance,
Rober

Originally posted by @rmrosi in FlutterFlow/flutterflow-issues#2933 (comment)

@LennyLip
Copy link

LennyLip commented Jun 7, 2024

This repository is not about flutterflow itself. https://docs.flutterflow.io/flutter/export-flutterflow-ui-code-to-your-flutter-project
You should to close this issue.

@rmrosi
Copy link
Author

rmrosi commented Jun 7, 2024

Is there anybody to help me about this issue?

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