❔ JObject find value
I have the following JSON
I want to check if
But since the keys
Is there a better way than what I have below?
I want to check if
sale.transaction.state == "Completed"But since the keys
sale, transaction and state are optional and not always in the response, I must check for their presence.Is there a better way than what I have below?