Check null, "", " " and missing property
I have a list where each object is another list, now I need to get to the second list get the object and check if the property is "", " ", null or is the property is missing, let me know how can I do this.
I tried @compares and @equals but both are not working.
1st List - Customer
2nd List - Address
Customer[1].Address[2].street == ""
Customer[1].Address[2].street == " "
Customer[1].Address[2].street = null
During mapping from json the "Customer.Address.street may not even be there, so I need to check all the above 4 conditions.