<?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: looping complex  JSON input in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323984#M93751</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000003YkRbAAK"&gt;@nivedhitha&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As per your document I see it has multiple JSON elements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hence you can't parse that with tFileInputJSON, you have to use tExtractJSONFields and group on id.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2019 22:22:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-08T22:22:28Z</dc:date>
    <item>
      <title>looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323981#M93748</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm having difficulty with a JSON file that I have to parse and load into mysql. screenshot below shows the beginning of the JSON data&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-07-08 at 2.03.27 PM.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5sw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141387iDA0CB497B45D6910/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5sw.png" alt="0683p000009M5sw.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;to start with I'm just trying to loop and get all the &lt;STRONG&gt;_id&lt;/STRONG&gt; and &lt;STRONG&gt;accountId&lt;/STRONG&gt;. But stuck right here.&lt;/P&gt; 
&lt;P&gt;Im using a tFileInputJSON and the configuration is like below&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-07-08 at 2.10.25 PM.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5uI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157650i266768C1F7224B68/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5uI.png" alt="0683p000009M5uI.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-07-08 at 2.08.47 PM.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6D4.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147196i1320ED3ADF9602CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6D4.png" alt="0683p000009M6D4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I see that there are 9 records which means it is looping through all the objects but I don't get the right values. Everything is null here.&lt;/P&gt; 
&lt;P&gt;Can someone help pls?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also attaching the complete JSON file .If you could also give me suggestions on parsing the rest of the fields as well, it would really be helpful.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 19:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323981#M93748</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2019-07-08T19:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323982#M93749</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.qlik.com/s/profile/00539000003YkRbAAK"&gt;@nivedhitha&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your input structure contains multiple loops at different levels.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try to parse the file using Talend Data mapper, which will be easier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 21:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323982#M93749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-08T21:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323983#M93750</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks. Will look into it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any idea why im not able to parse the id and accountId objects?&lt;BR /&gt;they are really simple but I just get null values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 21:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323983#M93750</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2019-07-08T21:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323984#M93751</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000003YkRbAAK"&gt;@nivedhitha&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As per your document I see it has multiple JSON elements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hence you can't parse that with tFileInputJSON, you have to use tExtractJSONFields and group on id.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 22:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323984#M93751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-08T22:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323985#M93752</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you please elaborate your suggestion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the JSON data as a file, so im thinking there has to be a tFileInputJSON at the beginning. how should this component be configured?&lt;/P&gt;
&lt;P&gt;how do I take the input to tExtractJSONFields in the downstream?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 11:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323985#M93752</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2019-07-09T11:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323986#M93753</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think part of your problem is that the JSON Query path doesn't like the &lt;EM&gt;NumberInt(6)&lt;/EM&gt; type statements (line 29 example). So can't decode the values you need.&lt;/P&gt;
&lt;P&gt;You might need to parse each row and convert those to just the integer value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 15:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323986#M93753</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2019-07-09T15:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323987#M93754</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLtjAAG"&gt;@dsoulalioux&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;thanks for your suggestion.&lt;/P&gt; 
&lt;P&gt;I manually removed all NumberInt and replaced it by just the integers to see if I can parse it properly, but I still get null for all id and accountid&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="screenshot-14.png" style="width: 326px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5us.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143645i211435BD45120711/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5us.png" alt="0683p000009M5us.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;above screenshot shows NumberInt removed in the source&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFileInputJson and the result below&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-07-09 at 12.02.53 PM.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6G8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146441i6EC0990AC13F7544/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6G8.png" alt="0683p000009M6G8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-07-09 at 12.03.05 PM.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6GD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147188i4E655C2ED7BCFBE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6GD.png" alt="0683p000009M6GD.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;would you suggest anything else for my situation?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 17:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323987#M93754</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2019-07-09T17:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323988#M93755</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;you have to use jsonpath wihout loop in the "read by" field : you have no loop at root level.&lt;BR /&gt;You'll then have one line with the correct _id and annountId.&lt;BR /&gt;However, if you then need to loop over other values, you'll have to parse data one level after another and rebuild the output structure at the end.&lt;BR /&gt;I made a reply to a similar question a few days ago (the problem was not exactly the same but I can be resolved the same way):&lt;BR /&gt;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kaasCAA#M100609" target="_blank" rel="noopener"&gt;https://community.talend.com/t5/Design-and-Development/tFileInputJSON-access-iterating-key-value/m-p/165530#M100609&lt;/A&gt;&lt;BR /&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 18:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323988#M93755</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-09T18:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323989#M93756</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMbuAAG"&gt;@lennelei&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your response. I will take a look.&lt;/P&gt; 
&lt;P&gt;now i'm not even sure if my json data is properly structured. I used an online JSON validator and checked my json file but it was invalid.&lt;/P&gt; 
&lt;P&gt;I had to make the below changes&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. replaced NumberInt(6) by just numbers&lt;/P&gt; 
&lt;P&gt;2. replaced ISODate("somedate") to just "somedate"&lt;/P&gt; 
&lt;P&gt;3. there are 9 different iterations in my JSON &amp;nbsp;that are defined like&lt;STRONG&gt; {} {} {} {} {} {}&lt;/STRONG&gt; which I had to change to &lt;STRONG&gt;[{},{},{},{}] &amp;nbsp;&lt;/STRONG&gt;(have added commas inbetween and [] added )&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;only after these changes, my JSON is even valid and im able to create a metadata for the file and also get all the IDs in a loop with the same configuration in tFileInputJSON as shown above.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Does it mean my JSON is bad? or should I get the data and make the above changes dynamically in my talend job?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 18:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323989#M93756</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2019-07-09T18:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323990#M93757</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000003YkRbAAK"&gt;@nivedhitha&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can use the following job flow to get all the data for your complex JSON.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 660px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6GS.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155243i2FBEF23602A5AF64/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6GS.jpg" alt="0683p000009M6GS.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The First TfileInputFullRow is your InputJSON file and the second tFileInputFullRow is the converted JSON file to remove the pretty prints.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;in tMap :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 868px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6GX.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142626i304928AD69DC643E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6GX.jpg" alt="0683p000009M6GX.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Use the above expression to get the JSON in non pretty printed way to the data mapper.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In Data Mapper create the I/P, O/P structures and the map out of it as below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.JPG" style="width: 973px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6Gh.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157065iA2EBDA70B6602096/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6Gh.jpg" alt="0683p000009M6Gh.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;And after the map is created, the following file is generated with all your info: This is a comma separated file.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M62C.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137547i8C8F6D88BA81DA80/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M62C.jpg" alt="0683p000009M62C.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Please let us know if it suffices the requirement.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks and Regards,&lt;/P&gt; 
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 19:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323990#M93757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-09T19:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323991#M93758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000003YkRbAAK"&gt;@nivedhitha&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to this the ROW_SEPARATOR for tFileInputFullRow_2 should be "}\n" and that of tFileInputFullRow_1 should be "\n"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ROW_SEPARATOR for tFileOutputDelimited_1 will be "" (component name as per images)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Subhadip&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 19:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323991#M93758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-09T19:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323992#M93759</link>
      <description>&lt;P&gt; 
 &lt;STRIKE&gt; 
  &lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;, 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   thanks for taking the time to work this out. 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   I still don't understand how to get the comma separated values(has just the values separated by comma ) to table. 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   &amp;nbsp;like for example, any array with multiple object has to be written in multiple lines like the below example 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   please can you explain how the final csv can be loaded as shown in the above table. 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt; 
 &lt;STRIKE&gt;
   the different sections of the file would go into different tables, but im now trying to understand the logic 
 &lt;/STRIKE&gt;&lt;/P&gt; 
&lt;P&gt;posting an&amp;nbsp;updated reply below&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 04:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323992#M93759</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2019-07-10T04:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: looping complex  JSON input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323993#M93760</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPZoAAO"&gt;@subhadip13&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried to work your suggestion out and have a few questions&lt;/P&gt; 
&lt;P&gt;1. I have been able to get the csv but also getting some errors and the values from JSON are a little off.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="screenshot-14.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6CR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146249iF34BC8CBA4E6D40D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6CR.png" alt="0683p000009M6CR.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="screenshot-15.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6Ji.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144501iC875529859DC9F7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6Ji.png" alt="0683p000009M6Ji.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the above screenshots, the JSON has the UnitB field null , but in the csv the value for UnitB is ProjectX which is the next non null value. Can you suggest how to bring in the null values as well so that I have the right value under the right key?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2. And when I enable &lt;STRONG&gt;output Delimited Header &lt;/STRONG&gt;in the output structure of the map, then I get the header for each record in the csv as shown above and also the below error in talend. But this goes off if header is disabled. Can you suggest how to get the header once and get the corresponding values under it.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-07-11 at 12.25.28 PM.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6IP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139641i8F02615A16B0BE50/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6IP.png" alt="0683p000009M6IP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3. I created the input structure importing the JSON file itself and the structure is just as you showed. but we are actually creating a csv file before the tHmap step and the csv is what is being sent to the tHMap as input. So im now confused if the input structure has to be created importing the JSON file itself or the csv file that is being created in the previous step.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;4. Also if you could tell me how to extract the different objects of array as multiple rows instead of columns, it would be really great. I can apply whichever way is needed&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-07-11 at 12.31.49 PM.png" style="width: 353px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6Jn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128612i056F1EF634F73930/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6Jn.png" alt="0683p000009M6Jn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-complex-JSON-input/m-p/2323993#M93760</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2019-07-11T17:34:08Z</dc:date>
    </item>
  </channel>
</rss>

