Below is the json response I have currently.
{
firstName: "xyz",
lastName: "efh",
id: 123,
key: ''
}
How to ignore a property if it is an empty string like key from the above response. I know how to ignore a a property when it is null but not when it is empty.