Hi there, I have one input json like as follows: {
"isValid": true,
"logId": "9IE9BkOwxvrCwn_Ot7p4o-1699858392",
"contractId": 1,
"erpVendorId": "VID123",
"erpVendorName": null...
So rather than an Object.extend(), we'll use Object.merge() to do a deep merge of the object, allowing us to also add the workOrderNumber into the existing contractDetails sub-element.
So here, I tried many a ways to manipulate the BOMA value which should come as distinct, the way it shows up in input, like for item 1 we have value available but for item 2 we should get null (or any other value, as coming from source), but the final working mapping I could figure out is mentioned above and it's basically mapping first BOMA code encountered in all the list object values.
Appreciate any help here!
Please let me know in case additional details needed here.