I am having difficulty in gerating/writing export mapping in JSON for one of my domain model which has an association of 1 to * the Table structure looks similar to this Order -> order item i want the data in below format { 'OrderId': '1', 'Order Number': '1234', 'OrderItems' : [{'OrderItemId': 1}, {'OrderItemId':2}] }
asked
Deependra Singh
3 answers
1
Did you try to import this as json format and us it as source for your mappings? In the json format you can rename objects and associations. Maybe you can adjust it so that the result is what you need.