Skip to content

Nested JSON parse isn't works #23

Open
@rmrosi

Description

@rmrosi
          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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions