<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Recursive JSON Loop problem. Does the JSON Loop path only allow for loops on the same depth? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Recursive-JSON-Loop-problem-Does-the-JSON-Loop-path-only-allow/m-p/2521306#M147657</link>
    <description>&lt;P&gt;It would be a table with two columns like the following:&lt;BR /&gt;&lt;BR /&gt;|firstName | Address|&lt;BR /&gt;John&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 main st&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;James&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3 Comm St&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sara&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 Hunt Drive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jun 2025 13:05:07 GMT</pubDate>
    <dc:creator>mattg1221</dc:creator>
    <dc:date>2025-06-16T13:05:07Z</dc:date>
    <item>
      <title>Recursive JSON Loop problem. Does the JSON Loop path only allow for loops on the same depth?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recursive-JSON-Loop-problem-Does-the-JSON-Loop-path-only-allow/m-p/2520745#M147638</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am having an issue on how to iterate through a json file with a recursive field to populate a table. Let us say I have a json file of the structure as followed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"firstName": "John",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"address" : "1 Main St",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"children" : [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{ "firstName" : "James",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"address": "3 Commercial St",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"children": [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"firstName": "Sara",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"address": "4 Hunt Drive"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"firstName": "Sam",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"address": "here3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The json objects contain the fields "firstName", "address" and sometimes the list "children", which contains objects of the same schema, hence a recursive loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wish to create a table that has "firstName" and "address" as columns and each row will correspond to one json object. Simply specifying the json query '$..firstName' for example enters all of the instances of 'firstName' as one row - I do not know how to get each as its own row, which requires a recursive json loop to all levels where children lists are present.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 13:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recursive-JSON-Loop-problem-Does-the-JSON-Loop-path-only-allow/m-p/2520745#M147638</guid>
      <dc:creator>mattg1221</dc:creator>
      <dc:date>2025-06-10T13:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive JSON Loop problem. Does the JSON Loop path only allow for loops on the same depth?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recursive-JSON-Loop-problem-Does-the-JSON-Loop-path-only-allow/m-p/2521240#M147656</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/320775"&gt;@mattg1221&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give an example of what you want to have as a result from one of your json? This will allow me to know how to implement this recursive loop in question.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 07:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recursive-JSON-Loop-problem-Does-the-JSON-Loop-path-only-allow/m-p/2521240#M147656</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-06-16T07:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive JSON Loop problem. Does the JSON Loop path only allow for loops on the same depth?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recursive-JSON-Loop-problem-Does-the-JSON-Loop-path-only-allow/m-p/2521306#M147657</link>
      <description>&lt;P&gt;It would be a table with two columns like the following:&lt;BR /&gt;&lt;BR /&gt;|firstName | Address|&lt;BR /&gt;John&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 main st&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;James&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3 Comm St&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sara&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 Hunt Drive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 13:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recursive-JSON-Loop-problem-Does-the-JSON-Loop-path-only-allow/m-p/2521306#M147657</guid>
      <dc:creator>mattg1221</dc:creator>
      <dc:date>2025-06-16T13:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Recursive JSON Loop problem. Does the JSON Loop path only allow for loops on the same depth?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Recursive-JSON-Loop-problem-Does-the-JSON-Loop-path-only-allow/m-p/2521364#M147659</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/320775"&gt;@mattg1221&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I found an algo (job design) below that will allow you to parse your json recursively.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1750099674516.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181356iA611185AF9FD7A4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1750099674516.png" alt="Dave_Simo_0-1750099674516.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_1-1750099804327.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181357iF6049C948A900469/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_1-1750099804327.png" alt="Dave_Simo_1-1750099804327.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_2-1750099883897.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181358i0719C5D8A7D1D4AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_2-1750099883897.png" alt="Dave_Simo_2-1750099883897.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_3-1750099917579.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181359i9BC87238370F5390/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_3-1750099917579.png" alt="Dave_Simo_3-1750099917579.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_4-1750099953859.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181360i710A9EFA92A16DFD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_4-1750099953859.png" alt="Dave_Simo_4-1750099953859.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_5-1750099970843.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181361iC20F898BC43C2EEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_5-1750099970843.png" alt="Dave_Simo_5-1750099970843.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_7-1750100017396.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181363iCE55B71BC4DC21B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_7-1750100017396.png" alt="Dave_Simo_7-1750100017396.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;5)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_8-1750100046948.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181364iA02B182239ADA027/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_8-1750100046948.png" alt="Dave_Simo_8-1750100046948.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 18:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Recursive-JSON-Loop-problem-Does-the-JSON-Loop-path-only-allow/m-p/2521364#M147659</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2025-06-16T18:55:17Z</dc:date>
    </item>
  </channel>
</rss>

