<?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: creating json structure (loop in side loops ) and call an API to insert records. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/creating-json-structure-loop-in-side-loops-and-call-an-API-to/m-p/2330539#M99608</link>
    <description>The tWriteJsonField component seems a little lacking on features while working with complex json objects. I have tried using a custom Talend Component "tJSONDoc" (
&lt;A href="https://github.com/jlolling/talendcomp_tJSONDoc" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/jlolling/talendcomp_tJSONDoc&lt;/A&gt;)
&lt;BR /&gt;
&lt;BR /&gt;The documentation can be a little confusing in the beginning.
&lt;BR /&gt;HTH
&lt;BR /&gt;
&lt;BR /&gt;PS: I am still learning this component, and so far, I have had multiple success overall using this component in creating complex objects.</description>
    <pubDate>Tue, 19 Nov 2019 21:56:02 GMT</pubDate>
    <dc:creator>root</dc:creator>
    <dc:date>2019-11-19T21:56:02Z</dc:date>
    <item>
      <title>creating json structure (loop in side loops ) and call an API to insert records.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/creating-json-structure-loop-in-side-loops-and-call-an-API-to/m-p/2330538#M99607</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;I am using mysql to read some records in below format and trying to create json format as given below ...&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;tried using twrite json field like&amp;nbsp; --&amp;gt;&amp;nbsp; tmysqlinput --&amp;gt; tmap (for joins) --&amp;gt; twritejsonfield--&amp;gt;tflowtoiterate--&amp;gt;trest (here it inserts records ).&lt;/P&gt; 
  &lt;P&gt;but when i try to loops multiple times (here I have 7 language codes coming as separate elements (columns) and all of them should go as a array of records with other columns ... how can I achieve this JSON fromat )?&lt;/P&gt; 
  &lt;P&gt;SQL as below&amp;nbsp; :-&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;ROW_ID INT NOT NULL AUTO_INCREMENT PRIMARY KEY,&lt;BR /&gt;JOB_ID int,&lt;BR /&gt;P_CMO_CODE VARCHAR( 12 ) NOT NULL,&lt;BR /&gt;P_CNTY_CD_LOC VARCHAR( 3 )NOT NULL,&lt;BR /&gt;P_TY_CD VARCHAR( 1 )NOT NULL,&lt;BR /&gt;P_GROUP VARCHAR( 1 )NOT NULL,&lt;BR /&gt;P_ID VARCHAR( 12 )NOT NULL,&lt;BR /&gt;P_LAST_NAM VARCHAR( 35 )NOT NULL,&lt;BR /&gt;P_FST_NAM VARCHAR( 15 ),&lt;BR /&gt;P_MI_NAM VARCHAR( 1 ),P_SFX_NAM VARCHAR( 5 ),P_T&lt;/P&gt;
 &lt;BR /&gt;&lt;BR /&gt;To see the whole post, download it &lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009McsT"&gt;here&lt;/A&gt;</description>
      <pubDate>Tue, 19 Nov 2019 17:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/creating-json-structure-loop-in-side-loops-and-call-an-API-to/m-p/2330538#M99607</guid>
      <dc:creator>Sudhee_Maximus</dc:creator>
      <dc:date>2019-11-19T17:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: creating json structure (loop in side loops ) and call an API to insert records.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/creating-json-structure-loop-in-side-loops-and-call-an-API-to/m-p/2330539#M99608</link>
      <description>The tWriteJsonField component seems a little lacking on features while working with complex json objects. I have tried using a custom Talend Component "tJSONDoc" (
&lt;A href="https://github.com/jlolling/talendcomp_tJSONDoc" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/jlolling/talendcomp_tJSONDoc&lt;/A&gt;)
&lt;BR /&gt;
&lt;BR /&gt;The documentation can be a little confusing in the beginning.
&lt;BR /&gt;HTH
&lt;BR /&gt;
&lt;BR /&gt;PS: I am still learning this component, and so far, I have had multiple success overall using this component in creating complex objects.</description>
      <pubDate>Tue, 19 Nov 2019 21:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/creating-json-structure-loop-in-side-loops-and-call-an-API-to/m-p/2330539#M99608</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2019-11-19T21:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: creating json structure (loop in side loops ) and call an API to insert records.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/creating-json-structure-loop-in-side-loops-and-call-an-API-to/m-p/2330540#M99609</link>
      <description>&lt;P&gt;Hi ,&lt;BR /&gt;&lt;BR /&gt;I am not able to find the solution with this , could anyone explain me how to import this object and work on it pls ...&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 17:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/creating-json-structure-loop-in-side-loops-and-call-an-API-to/m-p/2330540#M99609</guid>
      <dc:creator>Sudhee_Maximus</dc:creator>
      <dc:date>2019-11-25T17:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: creating json structure (loop in side loops ) and call an API to insert records.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/creating-json-structure-loop-in-side-loops-and-call-an-API-to/m-p/2330541#M99610</link>
      <description>&lt;P&gt;Can you try installing the custom component?&amp;nbsp;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCs7QCAS" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/How-to-Install-Custom-Components/td-p/120495&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The github page I shared has the documentation. I would suggest you try installing the component and then checking out the documentation. Thnx.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 18:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/creating-json-structure-loop-in-side-loops-and-call-an-API-to/m-p/2330541#M99610</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2019-11-25T18:15:47Z</dc:date>
    </item>
  </channel>
</rss>

