I want to check if the field in request1 is there or not in request2, if it is then add it in the response with the value present in request2. if the String field is not there in request2 then the its value should go as "" in output.if the Object field is not there in request2 then the its value should go as {} in output. The request1 and request2 can have multiple different fields at each time.
Request:
Desired Response:
Jolt:
Jolt I am trying so far
Output I am getting:
I want to check if the field in request1 is there or not in request2, if it is then add it in the response with the value present in request2. if the String field is not there in request2 then the its value should go as "" in output.if the Object field is not there in request2 then the its value should go as {} in output. The request1 and request2 can have multiple different fields at each time.