<?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: tWriteJSONField: why &amp;quot;Set As Loop Element&amp;quot;? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369218#M132385</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Oct 2018 18:59:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-10T18:59:27Z</dc:date>
    <item>
      <title>tWriteJSONField: why "Set As Loop Element"?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369213#M132380</link>
      <description>&lt;P&gt;Looking at this scenario:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/oNb3uOB_7iXYY0w_dH3W2A" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/oNb3uOB_7iXYY0w_dH3W2A&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I read, at a certain point:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;9. Right-click&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;firstname&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and select&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Set As Loop Element&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;from the context menu.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Well, the result is a "plain" json, without any loop element:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{"field1":"111","field2":"222","field3":"333"&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{"field1":"444","field2":"555","field3":"666"}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Why on earth field1 should be a "Loop Element"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your clarification,&lt;/P&gt;
&lt;P&gt;Lorenzo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 16:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369213#M132380</guid>
      <dc:creator>Lorenzo5</dc:creator>
      <dc:date>2017-08-04T16:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: tWriteJSONField: why "Set As Loop Element"?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369214#M132381</link>
      <description>Hello
&lt;BR /&gt;To write a XML or Json field, you have to set a loop element. If you want to generate only one string, you need to define the group element also, the output string looks like:
&lt;BR /&gt;{"rootTag":{"users":[{"id":"1","name":"shong"},{"id":"2","name":"elise"},{"id":"3","name":"ross"}]}}
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 08 Aug 2017 10:19:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369214#M132381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-08T10:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: tWriteJSONField: why "Set As Loop Element"?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369215#M132382</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;have you followed link I provided?&lt;/P&gt; 
&lt;P&gt;As you can see in the page linked, "firstname" is set as loop-element, and when you scroll down the page and take a look to the json result, firstname is definitely&amp;nbsp;not a loop element (it is a string element, instead).&lt;/P&gt; 
&lt;P&gt;So, it is still not clear the purpose of defining firstname as loop-element when it is not.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 13:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369215#M132382</guid>
      <dc:creator>Lorenzo5</dc:creator>
      <dc:date>2017-09-05T13:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: tWriteJSONField: why "Set As Loop Element"?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369216#M132383</link>
      <description>&lt;P&gt;Hi, is there any documentation on how to set an element as "group"? I am seeing that option grayed out all the time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369216#M132383</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2017-09-05T14:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: tWriteJSONField: why "Set As Loop Element"?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369217#M132384</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;the loop element must be the finest level&lt;BR /&gt;If your json has a flat structure you do not have the group function.&lt;BR /&gt;to activate this last one it is necessary to create a node in which you can make a loop.&lt;BR /&gt;You can thus have the function group element&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsEN"&gt;json1.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsJT"&gt;twritejson.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 06 Sep 2017 07:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369217#M132384</guid>
      <dc:creator>fab_74</dc:creator>
      <dc:date>2017-09-06T07:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: tWriteJSONField: why "Set As Loop Element"?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369218#M132385</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 18:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWriteJSONField-why-quot-Set-As-Loop-Element-quot/m-p/2369218#M132385</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-10T18:59:27Z</dc:date>
    </item>
  </channel>
</rss>

