<?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: JSON files with  Dynamic Schema in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293476#M66445</link>
    <description>&lt;P&gt;Looks like there was a problem in my understanding of the JSON file format. I resolved the issue by mapping all the &lt;A href="https://en.wikipedia.org/wiki/Attribute%E2%80%93value_pair" target="_blank" rel="nofollow noopener noreferrer"&gt;attribute–value pairs&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/Array_data_type" target="_blank" rel="nofollow noopener noreferrer"&gt;array data types&lt;/A&gt; to separate columns is a database table.&lt;/P&gt;
&lt;P&gt;I then used the component tJsonNormalize (great component available on Talend Exchange. Many thanks to the Author!) to decipher the individual nodes into separate tables &amp;amp; link back to the master table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 16:42:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-29T16:42:32Z</dc:date>
    <item>
      <title>JSON files with  Dynamic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293473#M66442</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;We have a requirement of loading JSON files periodically &amp;nbsp;load into &lt;STRONG&gt;a table(insert into the same table)&lt;/STRONG&gt; in SQL Server database&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The challenge with this is that the Schema/structure keeps changing from file to file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dynamic datatype is unfortunately for JSON components&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to handle this via Talend?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293473#M66442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: JSON files with  Dynamic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293474#M66443</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;So far, dynamic schema is not available in tFileInputJson component.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please elaborate your case with an example with input and expected output values?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 09:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293474#M66443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-27T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: JSON files with  Dynamic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293475#M66444</link>
      <description>&lt;P&gt;Hi Sabrina,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for the response&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We receive&amp;nbsp;a daily feed in the JSON file format. The requirement is to load data from these daily files everyday into a same landing table.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the absence of “dynamic” datatype for Talend JSON components, we have to create a static schema(metadata) based on one of the JSON source files. &amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;As the number of attributes/values is not fixed this method is not suitable to load data from all files to the same database table&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have attached a couple of sample files for your reference&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please let me know if you need more information&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Many Thanks&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; 
&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/0683p000009Lr9K"&gt;Sample Json Files.zip&lt;/A&gt;</description>
      <pubDate>Tue, 27 Jun 2017 10:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293475#M66444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-27T10:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: JSON files with  Dynamic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293476#M66445</link>
      <description>&lt;P&gt;Looks like there was a problem in my understanding of the JSON file format. I resolved the issue by mapping all the &lt;A href="https://en.wikipedia.org/wiki/Attribute%E2%80%93value_pair" target="_blank" rel="nofollow noopener noreferrer"&gt;attribute–value pairs&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/Array_data_type" target="_blank" rel="nofollow noopener noreferrer"&gt;array data types&lt;/A&gt; to separate columns is a database table.&lt;/P&gt;
&lt;P&gt;I then used the component tJsonNormalize (great component available on Talend Exchange. Many thanks to the Author!) to decipher the individual nodes into separate tables &amp;amp; link back to the master table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 16:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293476#M66445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-29T16:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: JSON files with  Dynamic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293477#M66446</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback and sharing your solution that the custom component tJsonNormalize.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 09:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293477#M66446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T09:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: JSON files with  Dynamic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293478#M66447</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As requested, I am attaching the Jobs&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. First one loads the data to landing table (&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://en.wikipedia.org/wiki/Attribute%E2%80%93value_pair" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;attribute–value pairs&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://en.wikipedia.org/wiki/Array_data_type" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;array data types&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;) - one to one mapping&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;2. The second one deciphers(parses ) each array &amp;nbsp;into in separate tables splitting them into multiple&amp;nbsp;rows&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;let me know if you need more information&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Regards,&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;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LreN"&gt;Json Jobs.zip&lt;/A&gt;</description>
      <pubDate>Fri, 14 Jul 2017 10:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293478#M66447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-14T10:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: JSON files with  Dynamic Schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293479#M66448</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What version of Talend are you using? Because your post is fairly recent, but according to Talend Exchange the tJsonNormalize component is only compatible up to 5.6.&lt;/P&gt;&lt;P&gt;I'd just like to know if doc is just not up to date, or if I'm out of luck with 6.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 15:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JSON-files-with-Dynamic-Schema/m-p/2293479#M66448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-29T15:44:12Z</dc:date>
    </item>
  </channel>
</rss>

