Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

Reading JSON/Variant nodes (2 replies)

$
0
0
Is there a simple way to make the json node use a variable so we can loop thru the node? or Variant node, might be a more correct reference.

Example:
varResponse.results.id.rewards.bonuses

where id = 19, so we need the node to be:
varResponse.results.19.rewards.bonuses

id is a variable = 19 but this does not translate based on what we see in the debugger.

Screenshot of what the data looks like from debugger:
[screencast.com]

Screenshot of code :
[screencast.com]

Thanks for any help on this!

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>