Is there any way to insert a JSON object in the middle of another JSON object using jsonPath? I'm using Javascript in the Postman test script after I recieve a JSON object as a response, and I need to insert JSON data in the middle of the response. I can access the part of the response I want using "$..decision[0]". Is there a way to add data using "$..decision[1]" so that this:
 ...
"decision": [
            {
                "var1": 43,
                "var2": 1,
            }
        ],...
becomes this:
 ...
"decision": [
            {
                "var1": 43,
                "var2": 1
            },
            {
                "foo1": "true",
                "foo2": "false"
            }
        ],...
If I can't, is there another simple way to append data into the middle of a JSON object?
 
    