For example I receive a JSON response from postman and store it in a variable. How can I remove a specific key from this response?
In my example, I want a solution that removes head_out_timestam
- even
if the exact hierarchy of the object tree is unknown.
I need this in javaScript, thanks.
{
"soapenv:Envelope": {
"$": {
"xmlns:soapenv": "http://schemas.xmlsoap.org/soap/envelope/"
},
"soapenv:Header": {
"f:Routing": {
"f:Receiver": {
"f:Application": "Something"
}
}
},
"soapenv:Body": {
"Something": {
"something_output": {
"service_header_out": {
"head_out_servercode": "Some",
"head_out_timestam": "2019-06-18-11.32.13.570127",
}
}
}
}
}
}