Hi Jonas,
Your mapping looks good, and I was able to create the correct JSON export using Mendix 8.2.2 with a similar structure. Are you sure you have everything correctly associated when you build your entities?
My test looked like this.
Which gave me
{"gid":"123","tripId":"456","carId":"789","pickupActual":"12345","addDrivers":["Test1","Test2"]}
Hope this helps
I don’t understand the question. This mapping should include the List of additional drivers. Is the created json not what you expected?
In your export mapping, click button "Select elements”. Do not include the entity AddDrivers to the selected items of your Exportmapping
And for a better understanding of which entity does what, rename “AddDrivers” to “DriverWrapper” and “AdditionalDriversWrapper” to “Driver”. That gives you:
Btw, more people are having trouble with arrays of strings: 96287 and 95172