Export/Import mapping dynamic json keys

I have a REST service which is using java Maps in the input request. This means json keys has to be dynamically passed to service. Is there any way to achieve this using export mapping Below is sample inputs for service Sample1 [ { “name”:”Test”},{“id”:”ID1”}] Sample2 [ { “name”:”Test”},{“id”:”ID1”},{“custom”:”Cust1”}] As shown above keys are not static. Key names has to be passed dynamically based on consition  
1 answers

This is a common issue in Mendix, you could try and use the JSONpath module from the appstore to tackle this problem.

Or you could restructure the JSON in such a way that it will be parsed as discussed here, however you need to write some java to make it work.