FlutterFlow / flutterflow-ui

BSD 3-Clause "New" or "Revised" License
151 stars 62 forks source link

Nested JSON parse isn't works #23

Open rmrosi opened 1 month ago

rmrosi commented 1 month ago
          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 https://github.com/FlutterFlow/flutterflow-issues/issues/2933#issuecomment-2129389535

LennyLip commented 4 weeks ago

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 commented 4 weeks ago

Is there anybody to help me about this issue?