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:
And the API Call knowin that the endpoint will provide a list of Random
Users inside the field "results":
Then I called the API in column component:
An the ListView, I tried to parse to DataType:
However, I get the following error:
Then, I created a following data type:
And adjusted the API:
And adjust listview:
The error is solving, but didn´t work yet:
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
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](https://github.com/FlutterFlow/flutterflow-issues/assets/8838467/c1a25d25-9851-4c96-8892-acd5a0877d6f)
And the API Call knowin that the endpoint will provide a list of Random Users inside the field "results":![image2](https://github.com/FlutterFlow/flutterflow-issues/assets/8838467/f6affa65-27cb-42d1-b701-f4d14b3c2745)
Then I called the API in column component:![image3](https://github.com/FlutterFlow/flutterflow-issues/assets/8838467/729cd0e7-4388-4f0e-af61-af5bdba6c53b)
An the ListView, I tried to parse to DataType:![image4](https://github.com/FlutterFlow/flutterflow-issues/assets/8838467/5621ba59-883c-4cb8-94fe-6dbc24820693)
However, I get the following error:![image5](https://github.com/FlutterFlow/flutterflow-issues/assets/8838467/caacf3c4-02f2-44fb-81a8-d54aea711332)
Then, I created a following data type:![image6](https://github.com/FlutterFlow/flutterflow-issues/assets/8838467/abf29a07-abca-4c5b-8494-b5a7972313eb)
And adjusted the API:![image7](https://github.com/FlutterFlow/flutterflow-issues/assets/8838467/9123901d-27f4-45ad-b937-093d1bf5dcbb)
And adjust listview:![image8](https://github.com/FlutterFlow/flutterflow-issues/assets/8838467/b613b6e2-c8e0-4d98-b50b-dc0343a90e06)
The error is solving, but didn´t work yet:![image9](https://github.com/FlutterFlow/flutterflow-issues/assets/8838467/75d5c08c-9709-48da-a939-fbce7cabf095)
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 https://github.com/FlutterFlow/flutterflow-issues/issues/2933#issuecomment-2129389535