check if input is an empty array or empty array of arrays and save as just empty array otherwise copy the array of objects. Any help is appreciated
{
"response": {
"body": {
"variables": {
"sample": {
"type": "Json",
"value": [
[
[]
]
],
"valueInfo": {}
}
}
}
}
}
My Spec:
[
{
"operation": "shift",
"spec": {
"response": {
"body": {
"variables": {
"sample": {
"value": "."
}
}
}
}
}
}
]
Expected output:
[]
