In the example below, "columnNames" will be removed from the message.
Sample Original Message
{
"statusCode":200,
"statusDescription":"OK",
"columnNames":[
"Id",
"Name",
"no"
],
"numRows":1201
}
CODE
JOLT Code
[ {
"operation" : "remove",
"spec" : {
"columnNames" : ""
}
} ]
CODE
Sample Result Message
{
"statusCode" : 200,
"statusDescription" : "OK",
"numRows" : 1201
}
CODE