I know the first level of keys are able to be checked by using ContainsKey method.
(e.g .ContainsKey(“assignments”) can use to check if the “body” key exists in above Json and it would respond “true”)
For instance I would want to check if “Value” exists, but I can’t find a way of going further into the individual keys.
This may help, thank you, the problem I have is there is a part of my code that says
If item(“body”).toString = nothing then
The code will then either leave it if it has “body” or write 2there is no body" if the key is empty.
The problem is with Json, is the value will never be nothing, the key simply won’t appear, I need a way mark it as not existing for example with a boolean then add the line “body” and leave it empty.