Skip to content

How do I fill data According to our JSON Response. #36

@kumarlav0

Description

@kumarlav0

How can I fill data According to our JSON Response?. How many Array I have to Create and How to Fill that data to them.
My JSON Response is like:
{
"id": 2,
"name": "Default Category",
"featured_product": null,
"custom_attributes": [{}]
"children": [
{
"id": 2.0,
"name": "Default Category",
"featured_product": null,
"children": [{}]
"custom_attributes": [{}]
},{
"id": 2.1,
"name": "Default Category",
"featured_product": null,
"children": [{}]
"custom_attributes": [{}]
}
]
}

I want to Expand Cell according to "children": [{}] Array.
If Children Array is Nil than I don't want to Expand and if it has some data Than it will Expand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions