If I know there can be, but not mandatory, an jsonObject within an jsonObject, what is the correct way to check if it is there?
oObject:Has('') seems to check only properties.
I can get all names by oObject:GetNames() but is there an easy way of checking if it contains a spesific name without having to do a:
def var Names as longchar extent no-undo.
do i = 1 to extent(names):
NameList = NameList + Names[i] + ','.
end.
NamesList = right-trim(NameList,',').
if index(NameLsit,'myObjectName') gt 0 then....
aaah, now I know that 11 hours work is a bit too much .... I checked again (because of your answar), and of course... it works.... thanks !
Thanks Peter - that will be helpful.
Even though I'm really surprised we agree on a question of case ;)