I have a json payload with up to 50,000 lines of code. I want to be able to update any property in this response payload and send it as a request payload in the next call. How can I achieve this easily?
in my java framework I would use this piece of code below:
String updatedPayload = JsonPath.parse(responsePayload).set("$..[?(@.id=='735401')].displayName", "HD Receiver").jsonString();
With this code it doesn't matter how huge the payload is, it will keep looking for the node with id 735401 and once the node is found it will look for the display name within that node and update it with HD Receiver".
I want to do the same thing in postman. Any idea?