Handling complex json response

0
Hi All,  I am working with consuming rest APIs, and I used import mapping to map the result of json response. Since the json response I am getting is a nested one, so multiple entities are made in domain model and I am only able to access the first entity. So could anyone please help me in parsing the json response so as to access the nested fields. 
asked
2 answers
3

What do you mean by only accessing the first one? Do you mean that your mapping only returns the root object? That is normal. You can do retrieves to get the associated objects. An Action in Mendix always only returns a single object or a list of objects of the same entity. But the other objects can be reached over the associations.

answered
0

Perhaps the mapping is only set up for the Root entity? Have you completely mapped all entities?

answered