
Hello All,
I have a use case where i want to remove empty objects with the key
For instance:
This is my input:
{"Value":[
{
"name":null,
"subject":null
},
{
"name":null,
"subject":null
},
{
"name":null,
"subject":null
}
]
}
After applying skipNullOn ="Everywhere" I get this output:
"Value":
[
{
},
{
},
{
}
]
But I don't even want "Value" key to get printed, when the all the objects are empty within the Value, I want "Value" to be skipped from the response.
Can someone please pitch in any ideas?