<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>18 Apr 2016 23:36:00 Z</lastBuildDate><pubDate>18 Apr 2016 21:03:00 Z</pubDate><description>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.&#13;
&#13;
Example:&#13;
varResponse.results.id.rewards.bonuses&#13;
&#13;
where id = 19, so we need the node to be:&#13;
varResponse.results.19.rewards.bonuses&#13;
&#13;
id is a variable = 19 but this does not translate based on what we see in the debugger.&#13;
&#13;
Screenshot of what the data looks like from debugger:&#13;
http://screencast.com/t/nHasKA3m&#13;
&#13;
Screenshot of code :&#13;
http://screencast.com/t/aK06vUYr&#13;
&#13;
Thanks for any help on this!</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57346-reading-json-variant-nodes/read.awp</link><title>Reading JSON/Variant nodes</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57346-reading-json-variant-nodes-57350/read.awp</comments><pubDate>18 Apr 2016 23:36:00 Z</pubDate><description>Danny, this works, I was missing the indirection piece! Thanks!&#13;
&#13;
FOR each r OF {"varResponse.results."+ id +".rewards.bonuses.…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57346-reading-json-variant-nodes-57350/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57346-reading-json-variant-nodes-57350/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57346-reading-json-variant-nodes/read.awp">Reading JSON/Variant nodes</source><title>Re: Reading JSON/Variant nodes</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57346-reading-json-variant-nodes-57349/read.awp</comments><pubDate>18 Apr 2016 22:01:00 Z</pubDate><description>Hi,&#13;
&#13;
You should be able to build a string with the names seperated by the dot's like you would access it in the editor itself.…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57346-reading-json-variant-nodes-57349/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57346-reading-json-variant-nodes-57349/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/57346-reading-json-variant-nodes/read.awp">Reading JSON/Variant nodes</source><title>Re: Reading JSON/Variant nodes</title></item></channel></rss>
