How to check missing key in JSON

One of a few options and also depending on structures we can check with containskey method:

myJObject("incomeexpenses").value(of JObject).ContainsKey("estimate_total_annual_expenses1")

Other options do have the strategy

  • of retrieval and null check
  • retrieval and count check

grafik