How to map an Object of objects to a SAP List?


The answer to your question is ‘NO’. It is not possible to map your complex JSON object (object of objects) to a list <Objects> as it does not make sense.

If you want you can have a model or a JSONModel which replicates your object and then you can map it otherwise as you said, you can try to use array if it suits your requirement.

Updated on: 30-Jul-2019

115 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements