Hello,
I've converted JSON to a custom object and I'm now attempting to utilize a For Each to ultimately obtain the data I require. I've done this many times without issue but I've hit a stumbling block.
The third node on the JSON is dynamic as it refers to a site reference. Fortunately, I have the site reference as a variable.
Ideally, When setting the 'Value to Iterate' on my For Each i want to use a variable for node 3:
%JSONObject['node1']['node2']['%SiteRef%']['node4']%
Where you usually reference a variable within a variable by simply stating the name of the variable without %, When i do this here, it of course believes I'm referring to an actual node name.
If using a variable cannot be done, as there's always only one site reference node, can a wildcard be used? I've tried to use an index of [0] but this can't be done either.
Any suggestions would be much appreciated!