<?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: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2353997#M120065</link>
    <description>Hi 
&lt;BR /&gt;Read by JsonPath, and set the Loop jsonpath query to "$.rows[*]" to extract each row item such as ["jansi","13","100121521","female","7"], then, remove the characters "[","]", "\"" from the item string on tJavarow, for example: 
&lt;BR /&gt; 
&lt;BR /&gt;//Code generated according to input schema and output schema 
&lt;BR /&gt;output_row.row_value = ((input_row.row_value.replaceAll("\\[","")).replaceAll("\\]","")).replaceAll("\"",""); 
&lt;BR /&gt; 
&lt;BR /&gt;Finally, extract each filed with tExtractDelimitedFileds, the job looks like: 
&lt;BR /&gt;tRest--main--tExtractJsonFiled--main--tJavaRow--tExtractDelimited--main--tLogRow 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Jul 2017 07:52:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-27T07:52:28Z</dc:date>
    <item>
      <title>How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2353996#M120064</link>
      <description>&lt;P&gt;could anyone please help in this :&lt;/P&gt;&lt;P&gt;I got the&amp;nbsp;JSON file in this format and tried loading it into database&lt;/P&gt;&lt;P&gt;I have extracted file through tREST component&amp;nbsp;and&amp;nbsp;using tExtractJSONFields and could not apply logic in this component.&lt;/P&gt;&lt;P&gt;The JSON file is in this below attached format:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help me in applying logic in textractjsonfields component.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2353996#M120064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2353997#M120065</link>
      <description>Hi 
&lt;BR /&gt;Read by JsonPath, and set the Loop jsonpath query to "$.rows[*]" to extract each row item such as ["jansi","13","100121521","female","7"], then, remove the characters "[","]", "\"" from the item string on tJavarow, for example: 
&lt;BR /&gt; 
&lt;BR /&gt;//Code generated according to input schema and output schema 
&lt;BR /&gt;output_row.row_value = ((input_row.row_value.replaceAll("\\[","")).replaceAll("\\]","")).replaceAll("\"",""); 
&lt;BR /&gt; 
&lt;BR /&gt;Finally, extract each filed with tExtractDelimitedFileds, the job looks like: 
&lt;BR /&gt;tRest--main--tExtractJsonFiled--main--tJavaRow--tExtractDelimited--main--tLogRow 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jul 2017 07:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2353997#M120065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-27T07:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2353998#M120066</link>
      <description>&lt;P&gt;Thank you sir.&lt;/P&gt;
&lt;P&gt;By applying your logic I can remove all strings.&lt;/P&gt;
&lt;P&gt;I have done the job as&lt;/P&gt;
&lt;P&gt;tREST--main--tExtractJSONFields--main--tJavaRow--tExtractDelimited--main-- tfileoutputdelimited&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting all&amp;nbsp;rows data&amp;nbsp;in a single row but&amp;nbsp;I want it to be in row by row like row1 under row2 under row3.&lt;/P&gt;
&lt;P&gt;Could you please help in this.&lt;/P&gt;
&lt;P&gt;Below&amp;nbsp;are the rows:&lt;/P&gt;
&lt;P&gt;rows[["jansi","13","100121521","female","7"],&lt;BR /&gt;["jay","14","989561914","male","5"],["janu","16","46566562","female","8"]]&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;have attached my output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please help me in this.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lrxz"&gt;output.xlsx&lt;/A&gt;</description>
      <pubDate>Thu, 27 Jul 2017 10:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2353998#M120066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-27T10:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I read JSON/XML data from API and load into Mysql Table Using talend Open Studio for DI</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2353999#M120067</link>
      <description>&lt;P&gt;Could anyone please help me in this ???&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 05:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-Can-I-read-JSON-XML-data-from-API-and-load-into-Mysql-Table/m-p/2353999#M120067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-28T05:35:11Z</dc:date>
    </item>
  </channel>
</rss>

