Adding elements to the array based on condition
I have 2 ids ultimateId and Id. If both id’s are there in input then I need to add ultimateId related object to the output list. If i have only id but not ultimateId then I have to add id related object to the output list.
should send key only if there are multiple items in an output object
INPUT:
Extract data from nested JSON arrays into simpler array
I have a JSON formatted payload with nested arrays that I want to modify into a simpler array. Input looks like this:
JoltTransform: Split each object of input array into 2 separate object and place it in output array
I am using Jolt Transform to convert my input JSON, given below is my sample JSONs
Input JSON:-